binaryninja.numbers.Rational

class Rational

.numerator and .denominator should be in lowest terms.

__init__()

Initialize self. See help(type(self)) for accurate 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.