Function abs

Source
pub fn abs(x: f32) -> f32
Expand description

Computes the absolute value of x.

Precision is specified when the libm feature is enabled.