Skip to content

Commit 04020b8

Browse files
committed
Relax f16 multiplication tolerance.
1 parent 99a96f4 commit 04020b8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

library/std/tests/floats/f16.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ fn test_algebraic() {
961961

962962
assert_approx_eq!(a.algebraic_add(b), a + b, 1e1);
963963
assert_approx_eq!(a.algebraic_sub(b), a - b, 1e1);
964-
assert_approx_eq!(a.algebraic_mul(b), a * b, 1e2);
964+
assert_approx_eq!(a.algebraic_mul(b), a * b, 1e3);
965965
assert_approx_eq!(a.algebraic_div(b), a / b, 1e0);
966966
assert_approx_eq!(a.algebraic_rem(b), a % b, 1e0);
967967
}

0 commit comments

Comments
 (0)