about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-06-06 05:08:50 -0700
committerbors <bors@rust-lang.org>2016-06-06 05:08:50 -0700
commit763f9234b052c7911dc4cf952a81a85c51c57784 (patch)
treec83b1d980341b8d64a939aaa459f1100bf513b03 /src/libstd/sys/unix/stack_overflow.rs
parent4a4a13a5bc34deeb764d768f1c5f30dddce1b5f9 (diff)
parentf158a2f69de48b2f4dc8053441c24c7e2d253ff1 (diff)
downloadrust-763f9234b052c7911dc4cf952a81a85c51c57784.tar.gz
rust-763f9234b052c7911dc4cf952a81a85c51c57784.zip
Auto merge of #34006 - eddyb:mir-const-fixes, r=nikomatsakis
 [MIR] Fix double-rounding of float constants and ignore NaN sign in tests.

Fixes #32805 by handling f32 and f64 separately in rustc_const_eval.

Also removes `#[rustc_no_mir]` from a couple libstd tests by ignoring NaN sign.
Turns out that runtime evaluation of `0.0 / 0.0` produces a NaN with the sign bit set,
whereas LLVM constant folds it to a NaN with the sign bit unset, which we were testing for.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions