Function fract

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

Returns the fractional part of x.

This function always returns the precise result.