Module malachite_q::conversion
source · [−]Expand description
Traits for converting to and from Rational
s, converting to and from strings, and extracting
digits and continued fractions.
Modules
Implementations of traits for converting Rational
s to and from continued
fractions.
Functions for constructing a Rational
from a numerator and denominator,
or from a sign, numerator, and denominator.
An implementation of IsInteger
, a trait
for determining whether a number is an integer.
An implementation of
SciMantissaAndExponent
, a
trait for converting numbers to and from a mantissa-and-exponent representation.
Functions for mutating a Rational
’s numerator and/or denominator in place.
Functions and implementations of traits for converting a Rational
to a
primitive float.
Implementations of traits for converting a Rational
to a primitive
integer.
Functions for extracting or referencing the numerator and/or denominator of a
Rational
.
Various traits for performing arithmetic operations on numbers.