Skip to content

Commit 5925932

Browse files
committed
fixup! float: Use assert_biteq! where possible
1 parent 0a87911 commit 5925932

File tree

1 file changed

+1
-1
lines changed
  • library/coretests/tests/floats

1 file changed

+1
-1
lines changed

library/coretests/tests/floats/f128.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ fn test_recip() {
474474
);
475475
assert!(nan.recip().is_nan());
476476
assert_biteq!(inf.recip(), 0.0);
477-
assert_biteq!(neg_inf.recip(), 0.0);
477+
assert_biteq!(neg_inf.recip(), -0.0);
478478
}
479479

480480
#[test]

0 commit comments

Comments
 (0)