Skip to main content

Module mul_add_mul

Module mul_add_mul 

Source
Expand description

MulAddMul and MulAddMulAssign, traits for adding the products of two pairs of Floats with a single rounding, and the associated precision- and rounding-mode-aware functions.

Functionsยง

primitive_float_mul_add_mul
Adds the products of two pairs of primitive floats with a single rounding, using emulated Float arithmetic.
primitive_float_mul_add_mul_rational
Adds the product of two primitive floats and the product of a primitive float and a Rational, with a single rounding, using emulated Float arithmetic.