Skip to content

Commit 1bbd490

Browse files
committed
fix cosh test
1 parent 01a0a3a commit 1bbd490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/pass/float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ pub fn libm() {
11791179
assert_biteq(1.0f32.acos(), 0.0, "acos(1) = 0");
11801180
assert_biteq(1.0f64.acos(), 0.0, "acos(1) = 0");
11811181

1182-
assert_approx_eq!(1.0f32.cosh(), 1.54308f32);
1182+
assert_approx_eq!(1.0f32.cosh(), 1.5430806f32);
11831183
assert_approx_eq!(1.0f64.cosh(), 1.5430806348152437f64);
11841184
assert_eq!(0.0f32.cosh(), 1.0);
11851185
assert_eq!(0.0f64.cosh(), 1.0);

0 commit comments

Comments
 (0)