binaryninja.numbers.Rational

class Rational

.numerator and .denominator should be in lowest terms.

__init__()

x.__init__(…) initializes x; see help(type(x)) for signature

Methods

conjugate() Conjugate is a no-op for Reals.

Attributes

denominator
imag Real numbers have no imaginary component.
numerator
real Real numbers are their real component.