We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d8721b commit 5805c7aCopy full SHA for 5805c7a
crates/core_simd/src/round.rs
@@ -71,7 +71,8 @@ macro_rules! implement {
71
crate::intrinsics::simd_cast(self)
72
}
73
74
- /// 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
75
+ /// not exactly representable.
76
#[inline]
77
pub fn round_from_int(value: crate::$int_type) -> Self {
78
unsafe { crate::intrinsics::simd_cast(value) }
0 commit comments