Function libm::fma

source ·
pub fn fma(x: f64, y: f64, z: f64) -> f64
Expand description

Floating multiply add (f64)

Computes (x*y)+z, rounded as one ternary operation: Computes the value (as if) to infinite precision and rounds once to the result format, according to the rounding mode characterized by the value of FLT_ROUNDS.