Skip to content

Commit 2923a70

Browse files
tgross35beetrees
andauthored
Update library/coretests/tests/floats/f128.rs
Co-authored-by: beetrees <[email protected]>
1 parent f12c89e commit 2923a70

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

library/coretests/tests/floats/f128.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ fn test_mul_add() {
451451
let nan: f128 = f128::NAN;
452452
let inf: f128 = f128::INFINITY;
453453
let neg_inf: f128 = f128::NEG_INFINITY;
454-
assert_eq!(12.3f128.mul_add(4.5, 6.7), 62.0500000000000033750779948604758829);
455-
assert_eq!((-12.3f128).mul_add(-4.5, -6.7), 48.65000000000000301980662698042579);
454+
assert_eq!(12.3f128.mul_add(4.5, 6.7), 62.0500000000000000000000000000000037);
455+
assert_eq!((-12.3f128).mul_add(-4.5, -6.7), 48.6500000000000000000000000000000049);
456456
assert_eq!(0.0f128.mul_add(8.9, 1.2), 1.2);
457457
assert_eq!(3.4f128.mul_add(-0.0, 5.6), 5.6);
458458
assert!(nan.mul_add(7.8, 9.0).is_nan());

0 commit comments

Comments
 (0)