diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-14 10:55:51 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-14 10:55:51 -0700 |
| commit | 2795811f92143455a11442c842e9d0dfe6435581 (patch) | |
| tree | a0bee919618b489e49edfe8eb4292e317a7a9519 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 263314e569ce4624c78310d03349e7209576fd00 (diff) | |
| parent | 219f61bdd89cab251884d0645c07916343231b59 (diff) | |
| download | rust-2795811f92143455a11442c842e9d0dfe6435581.tar.gz rust-2795811f92143455a11442c842e9d0dfe6435581.zip | |
rollup merge of #24379: rkruppe/fmt-negative-zero
Fixes #20596 by making `Debug` render negative zero with a `-` without affecting the behavior of `Display`. While I was at it, I also removed some dead code from `float_to_str_bytes_common` (the one from `libcore/fmt/float.rs`, not the function of the same name in `libstd/num/strconv.rs`). It had support for different bases, and for negative numbers, but the function is internal to core and the couple places that call it (all in `libcore/fmt/mod.rs`) never use those features: They pass in `num.abs()` and base 10.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
