Function abs

Source
pub fn abs(x: f32) -> f32
Available on crate feature std only.
Expand description

Computes the absolute value of x.

This function always returns the precise result.