Lines Matching refs:APFloat
47 APFloat::ExponentType maxExponent;
51 APFloat::ExponentType minExponent;
58 const fltSemantics APFloat::IEEEhalf = { 15, -14, 11 };
59 const fltSemantics APFloat::IEEEsingle = { 127, -126, 24 };
60 const fltSemantics APFloat::IEEEdouble = { 1023, -1022, 53 };
61 const fltSemantics APFloat::IEEEquad = { 16383, -16382, 113 };
62 const fltSemantics APFloat::x87DoubleExtended = { 16383, -16382, 64 };
63 const fltSemantics APFloat::Bogus = { 0, 0, 0 };
76 const fltSemantics APFloat::PPCDoubleDouble = { 1023, -1022 + 53, 53 + 53 };
297 D->exponent += static_cast<APFloat::ExponentType>((dot - p) - (dot > p)); in interpretDecimal()
299 static_cast<APFloat::ExponentType>((p - D->firstSigDigit) in interpretDecimal()
576 APFloat::initialize(const fltSemantics *ourSemantics) in initialize()
587 APFloat::freeSignificand() in freeSignificand()
594 APFloat::assign(const APFloat &rhs) in assign()
606 APFloat::copySignificand(const APFloat &rhs) in copySignificand()
618 void APFloat::makeNaN(bool SNaN, bool Negative, const APInt *fill) in makeNaN()
661 if (semantics == &APFloat::x87DoubleExtended) in makeNaN()
665 APFloat APFloat::makeNaN(const fltSemantics &Sem, bool SNaN, bool Negative, in makeNaN()
667 APFloat value(Sem, uninitialized); in makeNaN()
672 APFloat &
673 APFloat::operator=(const APFloat &rhs) in operator =()
687 APFloat::isDenormal() const { in isDenormal()
694 APFloat::isSmallest() const { in isSmallest()
702 bool APFloat::isSignificandAllOnes() const { in isSignificandAllOnes()
724 bool APFloat::isSignificandAllZeros() const { in isSignificandAllZeros()
747 APFloat::isLargest() const { in isLargest()
755 APFloat::bitwiseIsEqual(const APFloat &rhs) const { in bitwiseIsEqual()
778 APFloat::APFloat(const fltSemantics &ourSemantics, integerPart value) { in APFloat() function in APFloat
788 APFloat::APFloat(const fltSemantics &ourSemantics) { in APFloat() function in APFloat
794 APFloat::APFloat(const fltSemantics &ourSemantics, uninitializedTag tag) { in APFloat() function in APFloat
799 APFloat::APFloat(const fltSemantics &ourSemantics, StringRef text) { in APFloat() function in APFloat
804 APFloat::APFloat(const APFloat &rhs) { in APFloat() function in APFloat
809 APFloat::~APFloat() in ~APFloat()
815 void APFloat::Profile(FoldingSetNodeID& ID) const { in Profile()
820 APFloat::partCount() const in partCount()
826 APFloat::semanticsPrecision(const fltSemantics &semantics) in semanticsPrecision()
832 APFloat::significandParts() const in significandParts()
834 return const_cast<APFloat *>(this)->significandParts(); in significandParts()
838 APFloat::significandParts() in significandParts()
847 APFloat::zeroSignificand() in zeroSignificand()
854 APFloat::incrementSignificand() in incrementSignificand()
867 APFloat::addSignificand(const APFloat &rhs) in addSignificand()
882 APFloat::subtractSignificand(const APFloat &rhs, integerPart borrow) in subtractSignificand()
899 APFloat::multiplySignificand(const APFloat &rhs, const APFloat *addend) in multiplySignificand()
969 APFloat extendedAddend(*addend); in multiplySignificand()
1017 APFloat::divideSignificand(const APFloat &rhs) in divideSignificand()
1101 APFloat::significandMSB() const in significandMSB()
1107 APFloat::significandLSB() const in significandLSB()
1114 APFloat::shiftSignificandRight(unsigned int bits) in shiftSignificandRight()
1126 APFloat::shiftSignificandLeft(unsigned int bits) in shiftSignificandLeft()
1140 APFloat::cmpResult
1141 APFloat::compareAbsoluteValue(const APFloat &rhs) const in compareAbsoluteValue()
1167 APFloat::opStatus
1168 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow()
1194 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero()
1230 APFloat::opStatus
1231 APFloat::normalize(roundingMode rounding_mode, in normalize()
1338 APFloat::opStatus
1339 APFloat::addOrSubtractSpecials(const APFloat &rhs, bool subtract) in addOrSubtractSpecials()
1394 APFloat::addOrSubtractSignificand(const APFloat &rhs, bool subtract) in addOrSubtractSignificand()
1409 APFloat temp_rhs(rhs); in addOrSubtractSignificand()
1448 APFloat temp_rhs(rhs); in addOrSubtractSignificand()
1465 APFloat::opStatus
1466 APFloat::multiplySpecials(const APFloat &rhs) in multiplySpecials()
1509 APFloat::opStatus
1510 APFloat::divideSpecials(const APFloat &rhs) in divideSpecials()
1550 APFloat::opStatus
1551 APFloat::modSpecials(const APFloat &rhs) in modSpecials()
1589 APFloat::changeSign() in changeSign()
1596 APFloat::clearSign() in clearSign()
1603 APFloat::copySign(const APFloat &rhs) in copySign()
1610 APFloat::opStatus
1611 APFloat::addOrSubtract(const APFloat &rhs, roundingMode rounding_mode, in addOrSubtract()
1641 APFloat::opStatus
1642 APFloat::add(const APFloat &rhs, roundingMode rounding_mode) in add()
1648 APFloat::opStatus
1649 APFloat::subtract(const APFloat &rhs, roundingMode rounding_mode) in subtract()
1655 APFloat::opStatus
1656 APFloat::multiply(const APFloat &rhs, roundingMode rounding_mode) in multiply()
1674 APFloat::opStatus
1675 APFloat::divide(const APFloat &rhs, roundingMode rounding_mode) in divide()
1693 APFloat::opStatus
1694 APFloat::remainder(const APFloat &rhs) in remainder()
1697 APFloat V = *this; in remainder()
1730 APFloat::opStatus
1731 APFloat::mod(const APFloat &rhs, roundingMode rounding_mode) in mod()
1737 APFloat V = *this; in mod()
1770 APFloat::opStatus
1771 APFloat::fusedMultiplyAdd(const APFloat &multiplicand, in fusedMultiplyAdd()
1772 const APFloat &addend, in fusedMultiplyAdd()
1815 APFloat::opStatus APFloat::roundToIntegral(roundingMode rounding_mode) { in roundToIntegral()
1832 APFloat MagicConstant(*semantics); in roundToIntegral()
1858 APFloat::cmpResult
1859 APFloat::compare(const APFloat &rhs) const in compare()
1937 APFloat::opStatus
1938 APFloat::convert(const fltSemantics &toSemantics, in convert()
1953 if (&fromSemantics == &APFloat::x87DoubleExtended && in convert()
1954 &toSemantics != &APFloat::x87DoubleExtended && category == fcNaN && in convert()
2018 if (!X86SpecialNan && semantics == &APFloat::x87DoubleExtended) in convert()
2044 APFloat::opStatus
2045 APFloat::convertToSignExtendedInteger(integerPart *parts, unsigned int width, in convertToSignExtendedInteger()
2156 APFloat::opStatus
2157 APFloat::convertToInteger(integerPart *parts, unsigned int width, in convertToInteger()
2190 APFloat::opStatus
2191 APFloat::convertToInteger(APSInt &result, in convertToInteger()
2206 APFloat::opStatus
2207 APFloat::convertFromUnsignedParts(const integerPart *src, in convertFromUnsignedParts()
2237 APFloat::opStatus
2238 APFloat::convertFromAPInt(const APInt &Val, in convertFromAPInt()
2257 APFloat::opStatus
2258 APFloat::convertFromSignExtendedInteger(const integerPart *src, in convertFromSignExtendedInteger()
2285 APFloat::opStatus
2286 APFloat::convertFromZeroExtendedInteger(const integerPart *parts, in convertFromZeroExtendedInteger()
2302 APFloat::opStatus
2303 APFloat::convertFromHexadecimalString(StringRef s, roundingMode rounding_mode) in convertFromHexadecimalString()
2382 APFloat::opStatus
2383 APFloat::roundSignificandWithExponent(const integerPart *decSigParts, in roundSignificandWithExponent()
2408 APFloat decSig = APFloat::getZero(calcSemantics, sign); in roundSignificandWithExponent()
2409 APFloat pow5(calcSemantics); in roundSignificandWithExponent()
2467 APFloat::opStatus
2468 APFloat::convertFromDecimalString(StringRef str, roundingMode rounding_mode) in convertFromDecimalString()
2586 APFloat::convertFromStringSpecials(StringRef str) { in convertFromStringSpecials()
2610 APFloat::opStatus
2611 APFloat::convertFromString(StringRef str, roundingMode rounding_mode) in convertFromString()
2663 APFloat::convertToHexString(char *dst, unsigned int hexDigits, in convertToHexString()
2711 APFloat::convertNormalToHexString(char *dst, unsigned int hexDigits, in convertNormalToHexString()
2814 hash_code llvm::hash_value(const APFloat &Arg) { in hash_value()
2839 APFloat::convertF80LongDoubleAPFloatToAPInt() const in convertF80LongDoubleAPFloatToAPInt()
2871 APFloat::convertPPCDoubleDoubleAPFloatToAPInt() const in convertPPCDoubleDoubleAPFloatToAPInt()
2888 APFloat extended(*this); in convertPPCDoubleDoubleAPFloatToAPInt()
2893 APFloat u(extended); in convertPPCDoubleDoubleAPFloatToAPInt()
2908 APFloat v(extended); in convertPPCDoubleDoubleAPFloatToAPInt()
2922 APFloat::convertQuadrupleAPFloatToAPInt() const in convertQuadrupleAPFloatToAPInt()
2958 APFloat::convertDoubleAPFloatToAPInt() const in convertDoubleAPFloatToAPInt()
2988 APFloat::convertFloatAPFloatToAPInt() const in convertFloatAPFloatToAPInt()
3017 APFloat::convertHalfAPFloatToAPInt() const in convertHalfAPFloatToAPInt()
3050 APFloat::bitcastToAPInt() const in bitcastToAPInt()
3073 APFloat::convertToFloat() const in convertToFloat()
3082 APFloat::convertToDouble() const in convertToDouble()
3098 APFloat::initFromF80LongDoubleAPInt(const APInt &api) in initFromF80LongDoubleAPInt()
3106 initialize(&APFloat::x87DoubleExtended); in initFromF80LongDoubleAPInt()
3132 APFloat::initFromPPCDoubleDoubleAPInt(const APInt &api) in initFromPPCDoubleDoubleAPInt()
3148 APFloat v(IEEEdouble, APInt(64, i2)); in initFromPPCDoubleDoubleAPInt()
3158 APFloat::initFromQuadrupleAPInt(const APInt &api) in initFromQuadrupleAPInt()
3167 initialize(&APFloat::IEEEquad); in initFromQuadrupleAPInt()
3198 APFloat::initFromDoubleAPInt(const APInt &api) in initFromDoubleAPInt()
3205 initialize(&APFloat::IEEEdouble); in initFromDoubleAPInt()
3231 APFloat::initFromFloatAPInt(const APInt & api) in initFromFloatAPInt()
3238 initialize(&APFloat::IEEEsingle); in initFromFloatAPInt()
3264 APFloat::initFromHalfAPInt(const APInt & api) in initFromHalfAPInt()
3271 initialize(&APFloat::IEEEhalf); in initFromHalfAPInt()
3301 APFloat::initFromAPInt(const fltSemantics* Sem, const APInt& api) in initFromAPInt()
3319 APFloat
3320 APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE) in getAllOnesValue()
3324 return APFloat(IEEEhalf, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3326 return APFloat(IEEEsingle, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3328 return APFloat(IEEEdouble, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3330 return APFloat(x87DoubleExtended, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3333 return APFloat(IEEEquad, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3334 return APFloat(PPCDoubleDouble, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3342 void APFloat::makeLargest(bool Negative) { in makeLargest()
3365 void APFloat::makeSmallest(bool Negative) { in makeSmallest()
3377 APFloat APFloat::getLargest(const fltSemantics &Sem, bool Negative) { in getLargest()
3382 APFloat Val(Sem, uninitialized); in getLargest()
3387 APFloat APFloat::getSmallest(const fltSemantics &Sem, bool Negative) { in getSmallest()
3392 APFloat Val(Sem, uninitialized); in getSmallest()
3397 APFloat APFloat::getSmallestNormalized(const fltSemantics &Sem, bool Negative) { in getSmallestNormalized()
3398 APFloat Val(Sem, uninitialized); in getSmallestNormalized()
3415 APFloat::APFloat(const fltSemantics &Sem, const APInt &API) { in APFloat() function in APFloat
3419 APFloat::APFloat(float f) { in APFloat() function in APFloat
3423 APFloat::APFloat(double d) { in APFloat() function in APFloat
3511 void APFloat::toString(SmallVectorImpl<char> &Str, in toString()
3714 bool APFloat::getExactInverse(APFloat *inv) const { in getExactInverse()
3725 APFloat reciprocal(*semantics, 1ULL); in getExactInverse()
3743 bool APFloat::isSignaling() const { in isSignaling()
3756 APFloat::opStatus APFloat::next(bool nextDown) { in next()
3873 APFloat::makeInf(bool Negative) { in makeInf()
3881 APFloat::makeZero(bool Negative) { in makeZero()