Function std::intrinsics::roundf64
source · pub unsafe extern "rust-intrinsic" fn roundf64(x: f64) -> f64🔬This is a nightly-only experimental API. (
core_intrinsics)Expand description
返回最接近 f64 的整数。在离零一半的情况下进行舍入。
此内部函数的稳定版本是
f64::round