Home
last modified time | relevance | path

Searched refs:decSig (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Support/
DAPFloat.cpp2326 APFloat decSig(calcSemantics, fcZero, sign); in roundSignificandWithExponent() local
2329 sigStatus = decSig.convertFromUnsignedParts(decSigParts, sigPartCount, in roundSignificandWithExponent()
2334 decSig.exponent += exp; in roundSignificandWithExponent()
2342 calcLostFraction = decSig.multiplySignificand(pow5, NULL); in roundSignificandWithExponent()
2345 calcLostFraction = decSig.divideSignificand(pow5); in roundSignificandWithExponent()
2347 if (decSig.exponent < semantics->minExponent) { in roundSignificandWithExponent()
2348 excessPrecision += (semantics->minExponent - decSig.exponent); in roundSignificandWithExponent()
2360 (decSig.significandParts(), calcSemantics.precision - 1) == 1); in roundSignificandWithExponent()
2364 HUdistance = 2 * ulpsFromBoundary(decSig.significandParts(), in roundSignificandWithExponent()
2369 APInt::tcExtract(significandParts(), partCount(), decSig.significandParts(), in roundSignificandWithExponent()
[all …]
/external/llvm/lib/Support/
DAPFloat.cpp2463 APFloat decSig = APFloat::getZero(calcSemantics, sign); in roundSignificandWithExponent() local
2466 sigStatus = decSig.convertFromUnsignedParts(decSigParts, sigPartCount, in roundSignificandWithExponent()
2471 decSig.exponent += exp; in roundSignificandWithExponent()
2479 calcLostFraction = decSig.multiplySignificand(pow5, nullptr); in roundSignificandWithExponent()
2482 calcLostFraction = decSig.divideSignificand(pow5); in roundSignificandWithExponent()
2484 if (decSig.exponent < semantics->minExponent) { in roundSignificandWithExponent()
2485 excessPrecision += (semantics->minExponent - decSig.exponent); in roundSignificandWithExponent()
2497 (decSig.significandParts(), calcSemantics.precision - 1) == 1); in roundSignificandWithExponent()
2501 HUdistance = 2 * ulpsFromBoundary(decSig.significandParts(), in roundSignificandWithExponent()
2506 APInt::tcExtract(significandParts(), partCount(), decSig.significandParts(), in roundSignificandWithExponent()
[all …]