diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-21 22:10:30 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-21 22:10:30 +0000 |
commit | 588fe562f3c81ec47d5a8220593d0caae3dd9ecb (patch) | |
tree | 297bdc53da9f60554402584ffccfc8e398fccb69 /include/llvm/ADT | |
parent | 30ff44954a2b0241c9b508f9cf2b79c9193f20ac (diff) | |
download | external_llvm-588fe562f3c81ec47d5a8220593d0caae3dd9ecb.zip external_llvm-588fe562f3c81ec47d5a8220593d0caae3dd9ecb.tar.gz external_llvm-588fe562f3c81ec47d5a8220593d0caae3dd9ecb.tar.bz2 |
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/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/APFloat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h index 1842d7b..d38d831 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); |