diff --git a/crates/core_simd/src/round.rs b/crates/core_simd/src/round.rs index aadade1fd06..021e5af8873 100644 --- a/crates/core_simd/src/round.rs +++ b/crates/core_simd/src/round.rs @@ -71,7 +71,8 @@ macro_rules! implement { crate::intrinsics::simd_cast(self) } - /// Returns the nearest integer to each lane. Round half-way cases away from 0.0. + /// Creates a floating-point vector from an integer vector. Rounds values that are + /// not exactly representable. #[inline] pub fn round_from_int(value: crate::$int_type) -> Self { unsafe { crate::intrinsics::simd_cast(value) }