Function div_euclid
fn div_euclid(x: f32, rhs: f32) -> f32
Experimental version of div_euclid in core. See f32::div_euclid for details.
Examples
use f32;
let a: f32 = 7.0;
let b = 4.0;
assert_eq!; // 7.0 > 4.0 * 1.0
assert_eq!; // -7.0 >= 4.0 * -2.0
assert_eq!; // 7.0 >= -4.0 * -1.0
assert_eq!; // -7.0 >= -4.0 * 2.0
This standalone function is for testing only. It will be stabilized as an inherent method.