Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
src
/
tools
/
miri
/
tests
/
fail
/
intrinsics
/
fast_math_result.rs
blob: 4a143da057556b9d78d03f14551c1cbd427a4912 [
file
] [
log
] [
blame
]
#![
feature
(
core_intrinsics
)]
fn
main
()
{
unsafe
{
let
_x
:
f32
=
core
::
intrinsics
::
fdiv_fast
(
1.0
,
0.0
);
//~ ERROR: `fdiv_fast` intrinsic produced non-finite value as result
}
}