pub fn abs(a: f64) -> f64
Expand description

Returns the absolute value of the given number.

This function exists since std::f64::abs is not available in core. See #50145

This implementation is identical to std::f64::abs on x86 but not on ARM at the time of this writing.