Module hydra_dx_math::support::rational
source · Enums
Enum to specify how to round a rational number.
Nearest rounds both numerator and denominator down.
Down ensures the output is less than or equal to the input.
Up ensures the output is greater than or equal to the input.