Function fract
const fn fract(x: f32) -> f32
Experimental version of fract in core. See f32::fract for details.
Examples
use f32;
let x = 3.6_f32;
let y = -3.6_f32;
let abs_difference_x = .abs;
let abs_difference_y = .abs;
assert!;
assert!;
This standalone function is for testing only. It will be stabilized as an inherent method.