[go: up one dir, main page]

libm 0.2.15

libm in pure Rust
Documentation
1
2
3
4
5
/// Calculate the remainder of `x / y`, the precise result of `x - trunc(x / y) * y`.
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn fmodf(x: f32, y: f32) -> f32 {
    super::generic::fmod(x, y)
}