Skip to content

Commit 5805c7a

Browse files
committed
Fix comment
1 parent 3d8721b commit 5805c7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/core_simd/src/round.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ macro_rules! implement {
7171
crate::intrinsics::simd_cast(self)
7272
}
7373

74-
/// Returns the nearest integer to each lane. Round half-way cases away from 0.0.
74+
/// Creates a floating-point vector from an integer vector. Rounds values that are
75+
/// not exactly representable.
7576
#[inline]
7677
pub fn round_from_int(value: crate::$int_type) -> Self {
7778
unsafe { crate::intrinsics::simd_cast(value) }

0 commit comments

Comments
 (0)