Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/i18n/
Dnumber_rounding.cpp463 … int32_t roundingMag2 = getRoundingMagnitudeSignificant(value, fPrecision.fUnion.fracSig.fMaxSig); in apply() local
466 roundingMag = uprv_min(roundingMag1, roundingMag2); in apply()
468 roundingMag = uprv_max(roundingMag1, roundingMag2); in apply()
473 … if (!value.isZeroish() && value.getMagnitude() != upperMag && roundingMag1 == roundingMag2) { in apply()
475 roundingMag2 += 1; in apply()
486 if (roundingMag2 <= roundingMag1) { in apply()
493 if (roundingMag2 <= roundingMag1) { in apply()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_rounding.cpp463 … int32_t roundingMag2 = getRoundingMagnitudeSignificant(value, fPrecision.fUnion.fracSig.fMaxSig); in apply() local
466 roundingMag = uprv_min(roundingMag1, roundingMag2); in apply()
468 roundingMag = uprv_max(roundingMag1, roundingMag2); in apply()
473 … if (!value.isZeroish() && value.getMagnitude() != upperMag && roundingMag1 == roundingMag2) { in apply()
475 roundingMag2 += 1; in apply()
486 if (roundingMag2 <= roundingMag1) { in apply()
493 if (roundingMag2 <= roundingMag1) { in apply()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DPrecision.java732 int roundingMag2 = getRoundingMagnitudeSignificant(value, maxSig); in apply() local
735 roundingMag = Math.min(roundingMag1, roundingMag2); in apply()
737 roundingMag = Math.max(roundingMag1, roundingMag2); in apply()
742 … if (!value.isZeroish() && value.getMagnitude() != upperMag && roundingMag1 == roundingMag2) { in apply()
744 roundingMag2 += 1; in apply()
755 if (roundingMag2 <= roundingMag1) { in apply()
762 if (roundingMag2 <= roundingMag1) { in apply()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_rounding.cpp458 … int32_t roundingMag2 = getRoundingMagnitudeSignificant(value, fPrecision.fUnion.fracSig.fMaxSig); in apply() local
461 roundingMag = uprv_min(roundingMag1, roundingMag2); in apply()
463 roundingMag = uprv_max(roundingMag1, roundingMag2); in apply()