[go: up one dir, main page]

libm 0.2.15

libm in pure Rust
Documentation
1
2
3
4
5
/// Round `x` to the nearest integer, breaking ties away from zero.
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn roundf128(x: f128) -> f128 {
    super::generic::round(x)
}