Skip to content

Commit

Permalink
fix f32x4_basic_ops test (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaspleyer authored Feb 12, 2024
1 parent d0f8005 commit 30830f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simd/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn test_f32x4_accessors_and_mutators() {
fn test_f32x4_basic_ops() {
let a = F32x4::new(1.0, 3.0, 5.0, 7.0);
let b = F32x4::new(2.0, 2.0, 6.0, 6.0);
assert_eq!(a.approx_recip(), F32x4::new(0.99975586, 0.33325195, 0.19995117, 0.14282227));
assert_eq!(a.approx_recip(), F32x4::new(0.99975586, 0.333313, 0.19995117, 0.14282227));
assert_eq!(a.min(b), F32x4::new(1.0, 2.0, 5.0, 6.0));
assert_eq!(a.max(b), F32x4::new(2.0, 3.0, 6.0, 7.0));
let c = F32x4::new(-1.0, 1.3, -20.0, 3.6);
Expand Down

0 comments on commit 30830f2

Please sign in to comment.