diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2014-08-26 19:46:20 -0400 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2014-08-28 14:31:12 -0400 |
| commit | 687db5d887a700bccf6d752caf9b5cc8805641a0 (patch) | |
| tree | 360338902df8663624859c5b73200fc1bf6269ed /src/rustllvm/RustWrapper.cpp | |
| parent | b5165321e48c1fd8422803fb40693afab7939c8c (diff) | |
| download | rust-687db5d887a700bccf6d752caf9b5cc8805641a0.tar.gz rust-687db5d887a700bccf6d752caf9b5cc8805641a0.zip | |
Fix issue #15826.
The implemented fix rounds half-way cases away from zero as described in the original comments. This rounding algorithm is sometimes called arithmetic rounding. It is described further here: http://en.wikipedia.org/wiki/Rounding#Round_half_away_from_zero I also added several new tests to prevent regressions.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
