Lines Matching refs:APFloatBase

51 static_assert(APFloatBase::integerPartWidth % 4 == 0, "Part width must be divisible by 4!");
58 APFloatBase::ExponentType maxExponent;
62 APFloatBase::ExponentType minExponent;
117 const fltSemantics &APFloatBase::IEEEhalf() { in IEEEhalf()
120 const fltSemantics &APFloatBase::IEEEsingle() { in IEEEsingle()
123 const fltSemantics &APFloatBase::IEEEdouble() { in IEEEdouble()
126 const fltSemantics &APFloatBase::IEEEquad() { in IEEEquad()
129 const fltSemantics &APFloatBase::x87DoubleExtended() { in x87DoubleExtended()
132 const fltSemantics &APFloatBase::Bogus() { in Bogus()
135 const fltSemantics &APFloatBase::PPCDoubleDouble() { in PPCDoubleDouble()
153 …const unsigned int maxPowerOfFiveParts = 2 + ((maxPowerOfFiveExponent * 815) / (351 * APFloatBase:…
155 unsigned int APFloatBase::semanticsPrecision(const fltSemantics &semantics) { in semanticsPrecision()
158 APFloatBase::ExponentType
159 APFloatBase::semanticsMaxExponent(const fltSemantics &semantics) { in semanticsMaxExponent()
162 APFloatBase::ExponentType
163 APFloatBase::semanticsMinExponent(const fltSemantics &semantics) { in semanticsMinExponent()
166 unsigned int APFloatBase::semanticsSizeInBits(const fltSemantics &semantics) { in semanticsSizeInBits()
170 unsigned APFloatBase::getSizeInBits(const fltSemantics &Sem) { in getSizeInBits()
179 return ((bits) + APFloatBase::integerPartWidth - 1) / APFloatBase::integerPartWidth; in partCountForBits()
419 lostFractionThroughTruncation(const APFloatBase::integerPart *parts, in lostFractionThroughTruncation()
432 if (bits <= partCount * APFloatBase::integerPartWidth && in lostFractionThroughTruncation()
441 shiftRight(APFloatBase::integerPart *dst, unsigned int parts, unsigned int bits) in shiftRight()
488 static APFloatBase::integerPart
489 ulpsFromBoundary(const APFloatBase::integerPart *parts, unsigned int bits, in ulpsFromBoundary()
492 APFloatBase::integerPart part, boundary; in ulpsFromBoundary()
497 count = bits / APFloatBase::integerPartWidth; in ulpsFromBoundary()
498 partBits = bits % APFloatBase::integerPartWidth + 1; in ulpsFromBoundary()
500 …part = parts[count] & (~(APFloatBase::integerPart) 0 >> (APFloatBase::integerPartWidth - partBits)… in ulpsFromBoundary()
503 boundary = (APFloatBase::integerPart) 1 << (partBits - 1); in ulpsFromBoundary()
517 return ~(APFloatBase::integerPart) 0; /* A lot. */ in ulpsFromBoundary()
523 return ~(APFloatBase::integerPart) 0; /* A lot. */ in ulpsFromBoundary()
528 return ~(APFloatBase::integerPart) 0; /* A lot. */ in ulpsFromBoundary()
534 powerOf5(APFloatBase::integerPart *dst, unsigned int power) { in powerOf5()
535 …static const APFloatBase::integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125, 15625, 7812… in powerOf5()
536 APFloatBase::integerPart pow5s[maxPowerOfFiveParts * 2 + 5]; in powerOf5()
540 APFloatBase::integerPart scratch[maxPowerOfFiveParts], *p1, *p2, *pow5; in powerOf5()
569 APFloatBase::integerPart *tmp; in powerOf5()
605 partAsHex (char *dst, APFloatBase::integerPart part, unsigned int count, in partAsHex()
610 assert(count != 0 && count <= APFloatBase::integerPartWidth / 4); in partAsHex()
612 part >>= (APFloatBase::integerPartWidth - 4 * count); in partAsHex()