num_traits::ops

Module mul_add

Source

Traitsยง

  • Fused multiply-add. Computes (self * a) + b with only one rounding error, yielding a more accurate result than an unfused multiply-add.
  • The fused multiply-add assignment operation *self = (*self * a) + b