Rational Numbers and Float #
Convert this floating point number to a rational value.
Equations
Instances For
Convert this floating point number to a rational value,
mapping non-finite values (inf
, -inf
, nan
) to 0.
Convert this floating point number to a rational value.
Convert this floating point number to a rational value,
mapping non-finite values (inf
, -inf
, nan
) to 0.