We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf9961c commit 80c32caCopy full SHA for 80c32ca
library/std/src/f128/tests.rs
@@ -38,3 +38,9 @@ macro_rules! assert_f128_biteq {
38
);
39
};
40
}
41
+
42
+#[test]
43
+fn test_neg_zero() {
44
+ // only verify const eval negation until we add the rest of the checks
45
+ let _neg_zero: f128 = -0.0;
46
+}
library/std/src/f16/tests.rs
@@ -44,3 +44,9 @@ macro_rules! assert_f16_biteq {
47
48
49
50
51
+ let _neg_zero: f16 = -0.0;
52
tests/crashes/124583.rs
0 commit comments