diff options
| author | bors <bors@rust-lang.org> | 2016-06-06 05:08:50 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-06-06 05:08:50 -0700 |
| commit | 763f9234b052c7911dc4cf952a81a85c51c57784 (patch) | |
| tree | c83b1d980341b8d64a939aaa459f1100bf513b03 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 4a4a13a5bc34deeb764d768f1c5f30dddce1b5f9 (diff) | |
| parent | f158a2f69de48b2f4dc8053441c24c7e2d253ff1 (diff) | |
| download | rust-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
