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 f102de7 commit 7b66032Copy full SHA for 7b66032
crates/core_simd/tests/ops_macros.rs
@@ -533,8 +533,8 @@ macro_rules! impl_float_tests {
533
// Special case where both values are zero
534
let p_zero = Vector::<LANES>::splat(0.);
535
let n_zero = Vector::<LANES>::splat(-0.);
536
- assert!(p_zero.min(n_zero).to_array().iter().all(|x| *x == 0.));
537
- assert!(n_zero.min(p_zero).to_array().iter().all(|x| *x == 0.));
+ assert!(p_zero.max(n_zero).to_array().iter().all(|x| *x == 0.));
+ assert!(n_zero.max(p_zero).to_array().iter().all(|x| *x == 0.));
538
}
539
540
fn clamp<const LANES: usize>() {
0 commit comments