Expand description
positive_difference_prec_round and related
functions, for computing positive differences of Floats.
Functions§
- primitive_
float_ positive_ difference - Computes the positive difference of two primitive floats — $x-y$ if $x>y$, and $+0.0$
otherwise — using emulated
Floatarithmetic. - primitive_
float_ positive_ difference_ rational - Computes the positive difference of a primitive float and a
Rational— $x-y$ if $x>y$, and $+0.0$ otherwise — correctly rounding the result to the nearest value. - primitive_
float_ rational_ positive_ difference_ float - Computes the positive difference of a
Rationaland a primitive float — $x-y$ if $x>y$, and $+0.0$ otherwise — correctly rounding the result to the nearest value.