Lines Matching refs:APFloatBase

50 static_assert(APFloatBase::integerPartWidth % 4 == 0, "Part width must be divisible by 4!");
57 APFloatBase::ExponentType maxExponent;
61 APFloatBase::ExponentType minExponent;
124 const llvm::fltSemantics &APFloatBase::EnumToSemantics(Semantics S) { in EnumToSemantics()
144 APFloatBase::Semantics
145 APFloatBase::SemanticsToEnum(const llvm::fltSemantics &Sem) { in SemanticsToEnum()
164 const fltSemantics &APFloatBase::IEEEhalf() { in IEEEhalf()
167 const fltSemantics &APFloatBase::BFloat() { in BFloat()
170 const fltSemantics &APFloatBase::IEEEsingle() { in IEEEsingle()
173 const fltSemantics &APFloatBase::IEEEdouble() { in IEEEdouble()
176 const fltSemantics &APFloatBase::IEEEquad() { in IEEEquad()
179 const fltSemantics &APFloatBase::x87DoubleExtended() { in x87DoubleExtended()
182 const fltSemantics &APFloatBase::Bogus() { in Bogus()
185 const fltSemantics &APFloatBase::PPCDoubleDouble() { in PPCDoubleDouble()
189 constexpr RoundingMode APFloatBase::rmNearestTiesToEven;
190 constexpr RoundingMode APFloatBase::rmTowardPositive;
191 constexpr RoundingMode APFloatBase::rmTowardNegative;
192 constexpr RoundingMode APFloatBase::rmTowardZero;
193 constexpr RoundingMode APFloatBase::rmNearestTiesToAway;
209 …const unsigned int maxPowerOfFiveParts = 2 + ((maxPowerOfFiveExponent * 815) / (351 * APFloatBase:…
211 unsigned int APFloatBase::semanticsPrecision(const fltSemantics &semantics) { in semanticsPrecision()
214 APFloatBase::ExponentType
215 APFloatBase::semanticsMaxExponent(const fltSemantics &semantics) { in semanticsMaxExponent()
218 APFloatBase::ExponentType
219 APFloatBase::semanticsMinExponent(const fltSemantics &semantics) { in semanticsMinExponent()
222 unsigned int APFloatBase::semanticsSizeInBits(const fltSemantics &semantics) { in semanticsSizeInBits()
226 unsigned APFloatBase::getSizeInBits(const fltSemantics &Sem) { in getSizeInBits()
239 return ((bits) + APFloatBase::integerPartWidth - 1) / APFloatBase::integerPartWidth; in partCountForBits()
492 lostFractionThroughTruncation(const APFloatBase::integerPart *parts, in lostFractionThroughTruncation()
505 if (bits <= partCount * APFloatBase::integerPartWidth && in lostFractionThroughTruncation()
514 shiftRight(APFloatBase::integerPart *dst, unsigned int parts, unsigned int bits) in shiftRight()
561 static APFloatBase::integerPart
562 ulpsFromBoundary(const APFloatBase::integerPart *parts, unsigned int bits, in ulpsFromBoundary()
565 APFloatBase::integerPart part, boundary; in ulpsFromBoundary()
570 count = bits / APFloatBase::integerPartWidth; in ulpsFromBoundary()
571 partBits = bits % APFloatBase::integerPartWidth + 1; in ulpsFromBoundary()
573 …part = parts[count] & (~(APFloatBase::integerPart) 0 >> (APFloatBase::integerPartWidth - partBits)… in ulpsFromBoundary()
576 boundary = (APFloatBase::integerPart) 1 << (partBits - 1); in ulpsFromBoundary()
590 return ~(APFloatBase::integerPart) 0; /* A lot. */ in ulpsFromBoundary()
596 return ~(APFloatBase::integerPart) 0; /* A lot. */ in ulpsFromBoundary()
601 return ~(APFloatBase::integerPart) 0; /* A lot. */ in ulpsFromBoundary()
607 powerOf5(APFloatBase::integerPart *dst, unsigned int power) { in powerOf5()
608 …static const APFloatBase::integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125, 15625, 7812… in powerOf5()
609 APFloatBase::integerPart pow5s[maxPowerOfFiveParts * 2 + 5]; in powerOf5()
613 APFloatBase::integerPart scratch[maxPowerOfFiveParts], *p1, *p2, *pow5; in powerOf5()
642 APFloatBase::integerPart *tmp; in powerOf5()
678 partAsHex (char *dst, APFloatBase::integerPart part, unsigned int count, in partAsHex()
683 assert(count != 0 && count <= APFloatBase::integerPartWidth / 4); in partAsHex()
685 part >>= (APFloatBase::integerPartWidth - 4 * count); in partAsHex()
4152 APFloatBase::ExponentType IEEEFloat::exponentNaN() const { in exponentNaN()
4156 APFloatBase::ExponentType IEEEFloat::exponentInf() const { in exponentInf()
4160 APFloatBase::ExponentType IEEEFloat::exponentZero() const { in exponentZero()