Skip to content

Commit 73e3a92

Browse files
committed
Add more lanes
1 parent fab152a commit 73e3a92

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

crates/core_simd/tests/ops_macros.rs

+21-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,27 @@ macro_rules! impl_float_tests {
284284
#[test]
285285
fn is_nan() {
286286
test_helpers::test_unary_mask_elementwise(
287-
&Vector::<1>::is_nan,
287+
&Vector::<2>::is_nan,
288+
&Scalar::is_nan,
289+
&|_| true,
290+
);
291+
test_helpers::test_unary_mask_elementwise(
292+
&Vector::<8>::is_nan,
293+
&Scalar::is_nan,
294+
&|_| true,
295+
);
296+
test_helpers::test_unary_mask_elementwise(
297+
&Vector::<16>::is_nan,
298+
&Scalar::is_nan,
299+
&|_| true,
300+
);
301+
test_helpers::test_unary_mask_elementwise(
302+
&Vector::<32>::is_nan,
303+
&Scalar::is_nan,
304+
&|_| true,
305+
);
306+
test_helpers::test_unary_mask_elementwise(
307+
&Vector::<64>::is_nan,
288308
&Scalar::is_nan,
289309
&|_| true,
290310
);

0 commit comments

Comments
 (0)