Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DScaledNumber.h253 int compare(DigitsT LDigits, int16_t LScale, DigitsT RDigits, int16_t RScale) { in compare() argument
257 if (!LDigits) in compare()
264 int32_t lgL = getLgFloor(LDigits, LScale), lgR = getLgFloor(RDigits, RScale); in compare()
270 return compareImpl(LDigits, RDigits, RScale - LScale); in compare()
272 return -compareImpl(RDigits, LDigits, LScale - RScale); in compare()
288 int16_t matchScales(DigitsT &LDigits, int16_t &LScale, DigitsT &RDigits, in matchScales() argument
294 return matchScales(RDigits, RScale, LDigits, LScale); in matchScales()
295 if (!LDigits) in matchScales()
309 int32_t ShiftL = std::min<int32_t>(countLeadingZeros(LDigits), ScaleDiff); in matchScales()
319 LDigits <<= ShiftL; in matchScales()
[all …]