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 e591b83 commit 68d2955Copy full SHA for 68d2955
tests/compile-fail/fast_math_second.rs
@@ -2,6 +2,6 @@
2
3
fn main() {
4
unsafe {
5
- let _x: f32 = core::intrinsics::fmul_fast(3.4f32, f32::NAN); //~ ERROR `fmul_fast` intrinsic called with non-finite value as second parameter
+ let _x: f32 = core::intrinsics::fmul_fast(3.4f32, f32::INFINITY); //~ ERROR `fmul_fast` intrinsic called with non-finite value as second parameter
6
}
7
0 commit comments