diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-06-24 09:58:05 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-06-24 09:58:05 +0000 |
commit | 575694b6a7d49004acc93294bc88d0bc337e4d27 (patch) | |
tree | 2f1d5e5008dce9ff8d9fcadd7bd39717732b747f /include/llvm/ADT | |
parent | fdec0c7a7302702d08f1221609221018af8085ec (diff) | |
download | external_llvm-575694b6a7d49004acc93294bc88d0bc337e4d27.zip external_llvm-575694b6a7d49004acc93294bc88d0bc337e4d27.tar.gz external_llvm-575694b6a7d49004acc93294bc88d0bc337e4d27.tar.bz2 |
[APFloat] Added support for parsing float strings which contain {inf,-inf,NaN,-NaN}.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184713 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/APFloat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h index 3d4a632..7e71dd3 100644 --- a/include/llvm/ADT/APFloat.h +++ b/include/llvm/ADT/APFloat.h @@ -510,6 +510,7 @@ private: /// \name Miscellany /// @{ + bool convertFromStringSpecials(StringRef str); opStatus normalize(roundingMode, lostFraction); opStatus addOrSubtract(const APFloat &, roundingMode, bool subtract); cmpResult compareAbsoluteValue(const APFloat &) const; |