Function per_thing_from_rational::main
source · pub(crate) fn main()
Expand description
Tries to demonstrate that from_rational
is incorrect for any rounding modes.
NOTE: This Fraction
library is really slow. Using f128/f256 does not work for the large
numbers. But an optimization could be done do use either floats or Fraction depending on the
size of the inputs.