Function rem_euclid

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

Calculates the least nonnegative remainder of x (mod y).

The result of this operation is guaranteed to be the rounded infinite-precision result.