diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2007-10-03 15:16:41 +0000 |
---|---|---|
committer | Neil Booth <neil@daikokuya.co.uk> | 2007-10-03 15:16:41 +0000 |
commit | b7dea4cb368c7b2e825e6d58b249693736a32e21 (patch) | |
tree | 04709e5ae4de38a788f1e2a692bfe5b53d02b4fd /include/llvm/ADT/APFloat.h | |
parent | 0abe116022a45879d5f17e6c4964769f24bb05aa (diff) | |
download | external_llvm-b7dea4cb368c7b2e825e6d58b249693736a32e21.zip external_llvm-b7dea4cb368c7b2e825e6d58b249693736a32e21.tar.gz external_llvm-b7dea4cb368c7b2e825e6d58b249693736a32e21.tar.bz2 |
Tweak RoundAwayFromZero the bit number below which is truncated, and make
it const.
Preparation for APFloat -> hexadecimal string conversion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APFloat.h')
-rw-r--r-- | include/llvm/ADT/APFloat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h index 69d1e12..c6b62dc 100644 --- a/include/llvm/ADT/APFloat.h +++ b/include/llvm/ADT/APFloat.h @@ -253,7 +253,7 @@ namespace llvm { opStatus addOrSubtract(const APFloat &, roundingMode, bool subtract); cmpResult compareAbsoluteValue(const APFloat &) const; opStatus handleOverflow(roundingMode); - bool roundAwayFromZero(roundingMode, lostFraction); + bool roundAwayFromZero(roundingMode, lostFraction, unsigned int) const; opStatus convertFromUnsignedInteger(integerPart *, unsigned int, roundingMode); lostFraction combineLostFractions(lostFraction, lostFraction); |