Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
src
/
tools
/
miri
/
tests
/
fail
/
intrinsics
/
fast_math_first.rs
blob: e495498ab2869d03e07c08a5930c02d9fe954468 [
file
] [
log
] [
blame
]
#![
feature
(
core_intrinsics
)]
fn
main
()
{
unsafe
{
let
_x
:
f32
=
core
::
intrinsics
::
frem_fast
(
f32
::
NAN
,
3.2
);
//~ ERROR: `frem_fast` intrinsic called with non-finite value as first parameter
}
}