diff options
| author | bors <bors@rust-lang.org> | 2013-10-09 17:41:23 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-09 17:41:23 -0700 |
| commit | 8f4b87290bfdaf9f13663539f2969a0567e5b154 (patch) | |
| tree | 14e3345c8abfdbc5c9835ab0b1afc61ea9498b29 /src/rt/jemalloc/test/aligned_alloc.exp | |
| parent | 2076959336a1751bccfb24e1b8e0107341bec58a (diff) | |
| parent | 8ac0d0a59ee47d9f8027955ca13f545f89bcc687 (diff) | |
| download | rust-8f4b87290bfdaf9f13663539f2969a0567e5b154.tar.gz rust-8f4b87290bfdaf9f13663539f2969a0567e5b154.zip | |
auto merge of #9774 : sebcrozet/rust/master, r=huonw
The minimum (negative) value of a float is `-Bounded::max_value()`, not `Bounded::min_value()`. Otherwise the following has an incorrect behavior: ```rust let a = -1.0f64; let b: f32 = NumCast::from(a); // incorrectly returns None ```
Diffstat (limited to 'src/rt/jemalloc/test/aligned_alloc.exp')
0 files changed, 0 insertions, 0 deletions
