pub trait MulAddAssign<A = Self, B = Self> {
// Required method
fn mul_add_assign(&mut self, a: A, b: B);
}
Expand description
The fused multiply-add assignment operation *self = (*self * a) + b
Required Methods§
Sourcefn mul_add_assign(&mut self, a: A, b: B)
fn mul_add_assign(&mut self, a: A, b: B)
Performs the fused multiply-add assignment operation *self = (*self * a) + b
Implementations on Foreign Types§
Source§impl MulAddAssign for f32
Available on crate features std
or libm
only.
impl MulAddAssign for f32
Available on crate features
std
or libm
only.fn mul_add_assign(&mut self, a: Self, b: Self)
Source§impl MulAddAssign for f64
Available on crate features std
or libm
only.
impl MulAddAssign for f64
Available on crate features
std
or libm
only.