commit | 9eb6b4d91b83448ec818089754c74bbdcf7dfd7a | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri Oct 07 23:40:49 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri Oct 07 23:40:49 2011 +0000 |
tree | bc23b23e593554a3b01ef19bded7a7f71ff22db6 | |
parent | d2fdb4a28560688be5cbc5b2b0c305ec7207cbd0 [diff] |
Fix APInt::operator*= so that it computes the correct result for large integers where there is unsigned overflow. Fix APFloat::toString so that it doesn't depend on the incorrect behavior in common cases (and computes the correct result in some rare cases). Fixes PR11086. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141441 91177308-0d34-0410-b5e6-96231b3b80d8