aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/APFloat.h
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-06-24 09:58:05 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-06-24 09:58:05 +0000
commit575694b6a7d49004acc93294bc88d0bc337e4d27 (patch)
tree2f1d5e5008dce9ff8d9fcadd7bd39717732b747f /include/llvm/ADT/APFloat.h
parentfdec0c7a7302702d08f1221609221018af8085ec (diff)
downloadexternal_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/APFloat.h')
-rw-r--r--include/llvm/ADT/APFloat.h1
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;