We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae325e6 commit 6274c4eCopy full SHA for 6274c4e
src/tools/miri/tests/pass/float.rs
@@ -1103,7 +1103,7 @@ pub fn libm() {
1103
// sin() should be clamped to [-1, 1] so asin() can never return NaN
1104
assert!(!halve_pi_single.sin().asin().is_nan());
1105
assert!(!halve_pi_double.sin().asin().is_nan());
1106
- // sin() should be clamped to [-1, 1] so acos() can never return NaN
+ // cos() should be clamped to [-1, 1] so acos() can never return NaN
1107
assert!(!pi_single.cos().acos().is_nan());
1108
assert!(!pi_double.cos().acos().is_nan());
1109
}
0 commit comments