summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-08-21 22:10:30 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-08-21 22:10:30 +0000
commit7e844f128e0be77154aa08dbf2e828fcd4051604 (patch)
tree297bdc53da9f60554402584ffccfc8e398fccb69 /include
parent4f38b383d5089c49489a9a56d8efd0eb76048b3f (diff)
downloadllvm-7e844f128e0be77154aa08dbf2e828fcd4051604.tar.gz
llvm-7e844f128e0be77154aa08dbf2e828fcd4051604.tar.bz2
llvm-7e844f128e0be77154aa08dbf2e828fcd4051604.tar.xz
Implement APInt <-> APFloat conversion for IEEE 128-bit floats.
This fixes PR2555 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79677 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/APFloat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h
index 1842d7bda4..d38d8319ee 100644
--- a/include/llvm/ADT/APFloat.h
+++ b/include/llvm/ADT/APFloat.h
@@ -322,11 +322,13 @@ namespace llvm {
APInt convertFloatAPFloatToAPInt() const;
APInt convertDoubleAPFloatToAPInt() const;
+ APInt convertQuadrupleAPFloatToAPInt() const;
APInt convertF80LongDoubleAPFloatToAPInt() const;
APInt convertPPCDoubleDoubleAPFloatToAPInt() const;
void initFromAPInt(const APInt& api, bool isIEEE = false);
void initFromFloatAPInt(const APInt& api);
void initFromDoubleAPInt(const APInt& api);
+ void initFromQuadrupleAPInt(const APInt &api);
void initFromF80LongDoubleAPInt(const APInt& api);
void initFromPPCDoubleDoubleAPInt(const APInt& api);