Skip to content

Commit 6274c4e

Browse files
fix copy/paste mistake
Co-authored-by: Dante Broggi <[email protected]>
1 parent ae325e6 commit 6274c4e

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
@@ -1103,7 +1103,7 @@ pub fn libm() {
11031103
// sin() should be clamped to [-1, 1] so asin() can never return NaN
11041104
assert!(!halve_pi_single.sin().asin().is_nan());
11051105
assert!(!halve_pi_double.sin().asin().is_nan());
1106-
// sin() should be clamped to [-1, 1] so acos() can never return NaN
1106+
// cos() should be clamped to [-1, 1] so acos() can never return NaN
11071107
assert!(!pi_single.cos().acos().is_nan());
11081108
assert!(!pi_double.cos().acos().is_nan());
11091109
}

0 commit comments

Comments
 (0)