blob: 8b356eaabeecdd2932a4ea271611b2888571f7d4 (
plain)
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 roundf16(x: f16) -> f16 {
super::generic::round(x)
}
|