Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
tools
/
miri
/
tests
/
compile-fail
/
fast_math_first.rs
blob: 470ebe620050ffb95ee881916193d248cbc7a83c [
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
}
}