Skip to content

Commit 528bc85

Browse files
committed
Improve copysign documentation
1 parent 04be48f commit 528bc85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_simd/src/elements/float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub trait SimdFloat: Sized + Sealed {
8383

8484
/// Returns each lane with the magnitude of `self` and the sign of `sign`.
8585
///
86-
/// If any lane is a `NAN`, then a `NAN` with the sign of `sign` is returned.
86+
/// For any lane containing a `NAN`, a `NAN` with the sign of `sign` is returned.
8787
#[must_use = "method returns a new vector and does not mutate the original value"]
8888
fn copysign(self, sign: Self) -> Self;
8989

0 commit comments

Comments
 (0)