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 866971a commit 541369cCopy full SHA for 541369c
crates/core_simd/tests/ops_impl/float_macros.rs
@@ -29,17 +29,16 @@ macro_rules! float_tests {
29
<$scalar>::MIN,
30
<$scalar>::MAX,
31
<$scalar>::INFINITY,
32
- -<$scalar>::INFINITY,
+ <$scalar>::NEG_INFINITY,
33
<$scalar>::MIN_POSITIVE,
34
-<$scalar>::MIN_POSITIVE,
35
<$scalar>::EPSILON,
36
-<$scalar>::EPSILON,
37
- 0.0 / 0.0,
38
- -0.0 / 0.0,
39
- // Still not sure if wasm can have weird nans, or I'd check them
40
- // too. Until then
41
- 1.0 / 3.0,
42
- -1.0 / 4.0
+ <$scalar>::NAN,
+ -<$scalar>::NAN,
+ // TODO: Would be nice to check sNaN...
+ 100.0 / 3.0,
+ -100.0 / 3.0,
43
];
44
45
#[test]
0 commit comments