#[no_mangle]
pub extern "C" fn nstd_math_abs_f32(x: NSTDFloat32) -> NSTDFloat32
Available on crate feature nstd_math only.
Expand description

Returns the absolute value of x.

Parameters:

  • NSTDFloat32 x - The value.

Returns

NSTDFloat32 abs - The absolute value of x.