Improve copysign documentation

This commit is contained in:
Caleb Zulawski 2022-04-15 13:47:43 -04:00
parent 04be48ff97
commit 528bc8593a

View File

@ -83,7 +83,7 @@ pub trait SimdFloat: Sized + Sealed {
/// Returns each lane with the magnitude of `self` and the sign of `sign`.
///
/// If any lane is a `NAN`, then a `NAN` with the sign of `sign` is returned.
/// For any lane containing a `NAN`, a `NAN` with the sign of `sign` is returned.
#[must_use = "method returns a new vector and does not mutate the original value"]
fn copysign(self, sign: Self) -> Self;