Home | History | Annotate | Download | only in i18n

Lines Matching refs:adjustedNum

1360 DecimalFormat::_round(const DigitList &number, DigitList &adjustedNum, UBool& isNegative, UErrorCode &status) const {
1362 return adjustedNum;
1364 adjustedNum = number;
1367 return adjustedNum;
1375 adjustedNum.setRoundingMode(fRoundingMode);
1377 adjustedNum.mult(*fMultiplier, status);
1379 return adjustedNum;
1388 adjustedNum.mult(ten, status);
1390 return adjustedNum;
1395 adjustedNum.div(ten, status);
1397 return adjustedNum;
1408 isNegative = !adjustedNum.isPositive();
1412 adjustedNum.fContext.status &= ~DEC_Inexact;
1414 adjustedNum.div(*fRoundingIncrement, status);
1415 adjustedNum.toIntegralValue();
1416 adjustedNum.mult(*fRoundingIncrement, status);
1417 adjustedNum.trim();
1419 return adjustedNum;
1422 if (fRoundingMode == kRoundUnnecessary && (adjustedNum.fContext.status & DEC_Inexact)) {
1424 return adjustedNum;
1427 if (adjustedNum.isInfinite()) {
1428 return adjustedNum;
1434 adjustedNum.round(sigDigits);
1439 adjustedNum.roundFixedPoint(numFractionDigits);
1441 if (fRoundingMode == kRoundUnnecessary && (adjustedNum.fContext.status & DEC_Inexact)) {
1443 return adjustedNum;
1445 return adjustedNum;
1471 DigitList adjustedNum;
1473 _round(number, adjustedNum, isNegative, status);
1479 if (adjustedNum.isInfinite()) {
1480 int32_t prefixLen = appendAffix(appendTo, adjustedNum.getDouble(), handler, isNegative, TRUE);
1487 int32_t suffixLen = appendAffix(appendTo, adjustedNum.getDouble(), handler, isNegative, FALSE);
1492 return subformat(appendTo, handler, adjustedNum, FALSE, status);