Module mul_add
num_
traits
0.2.19
Module mul_add
Module Items
Macros
Traits
In num_
traits::
ops
Modules
bytes
checked
euclid
inv
mul_add
overflowing
saturating
wrapping
num_traits
::
ops
Module
mul_add
Copy item path
Settings
Help
Summary
Source
Macros
§
mul_
add_
assign_
impl
🔒
mul_
add_
impl
🔒
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