Skip to main content

fma

Function fma 

Source
pub const fn fma<T: Dispatch>(a: T, b: T, c: T) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Returns a * b + c without rounding the intermediate result.

The stabilized versions of this intrinsic are available on the float primitives via the mul_add method. For example, f32::mul_add.