rust/tests/compile-fail/fast_math_first.stderr

16 lines
791 B
Plaintext

error: Undefined Behavior: `frem_fast` intrinsic called with non-finite value as first parameter
--> $DIR/fast_math_first.rs:LL:CC
|
LL | ... let _x: f32 = core::intrinsics::frem_fast(f32::NAN, 3.2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `frem_fast` intrinsic called with non-finite value as first 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_first.rs:LL:CC
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
error: aborting due to previous error