File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -282,12 +282,22 @@ macro_rules! impl_float_tests {
282
282
impl_binary_op_test!( Vector <LANES >, Scalar , Rem :: rem, RemAssign :: rem_assign) ;
283
283
284
284
#[ test]
285
- fn is_nan( ) {
285
+ fn is_nan2( ) {
286
+ test_helpers:: test_unary_mask_elementwise(
287
+ & Vector :: <1 >:: is_nan,
288
+ & Scalar :: is_nan,
289
+ & |_| true ,
290
+ ) ;
286
291
test_helpers:: test_unary_mask_elementwise(
287
292
& Vector :: <2 >:: is_nan,
288
293
& Scalar :: is_nan,
289
294
& |_| true ,
290
295
) ;
296
+ test_helpers:: test_unary_mask_elementwise(
297
+ & Vector :: <4 >:: is_nan,
298
+ & Scalar :: is_nan,
299
+ & |_| true ,
300
+ ) ;
291
301
test_helpers:: test_unary_mask_elementwise(
292
302
& Vector :: <8 >:: is_nan,
293
303
& Scalar :: is_nan,
@@ -362,7 +372,6 @@ macro_rules! impl_float_tests {
362
372
) ;
363
373
}
364
374
365
- /*
366
375
fn is_nan<const LANES : usize >( ) {
367
376
test_helpers:: test_unary_mask_elementwise(
368
377
& Vector :: <LANES >:: is_nan,
@@ -371,6 +380,7 @@ macro_rules! impl_float_tests {
371
380
) ;
372
381
}
373
382
383
+ /*
374
384
fn is_normal<const LANES: usize>() {
375
385
test_helpers::test_unary_mask_elementwise(
376
386
&Vector::<LANES>::is_normal,
You can’t perform that action at this time.
0 commit comments