Function libm::fabs

source ·
pub fn fabs(x: f64) -> f64
Expand description

Absolute value (magnitude) (f64) Calculates the absolute value (magnitude) of the argument x, by direct manipulation of the bit representation of x.