num
0.4.3
Module mul_add
Traits
In num::
traits::
ops
Module
num
::
traits
::
ops
::
mul_add
Copy item path
source
·
[
−
]
Traits
§
MulAdd
Fused multiply-add. Computes
(self * a) + b
with only one rounding error, yielding a more accurate result than an unfused multiply-add.
MulAdd
Assign
The fused multiply-add assignment operation
*self = (*self * a) + b