Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
src
/
tools
/
miri
/
tests
/
fail
/
intrinsics
/
fast_math_both.rs
blob: dd2787bf40f40dd041faefa734389f6819c5cbce [
file
] [
log
] [
blame
]
#![
feature
(
core_intrinsics
)]
fn
main
()
{
unsafe
{
let
_x
:
f32
=
core
::
intrinsics
::
fsub_fast
(
f32
::
NAN
,
f32
::
NAN
);
//~ ERROR: `fsub_fast` intrinsic called with non-finite value as both parameters
}
}