rust/tests/compile-fail/fast_math_second.stderr

16 lines
789 B
Plaintext
Raw Normal View History

error: Undefined Behavior: `fmul_fast` intrinsic called with non-finite value as second parameter
--> $DIR/fast_math_second.rs:LL:CC
|
LL | ...f32 = core::intrinsics::fmul_fast(3.4f32, f32::INFINITY);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `fmul_fast` intrinsic called with non-finite value as second parameter
|
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
= note: inside `main` at $DIR/fast_math_second.rs:LL:CC
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
error: aborting due to previous error