Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dnumber_rounding.cpp36 int magnitude = value.isZeroish() ? 0 : value.getMagnitude(); in getRoundingMagnitudeSignificant()
48 int magnitude = value.isZeroish() ? 0 : value.getMagnitude(); in getDisplayMagnitudeSignificant()
310 U_ASSERT(!input.isZeroish()); in chooseMultiplierAndApply()
319 if (input.isZeroish() || U_FAILURE(status)) { in chooseMultiplierAndApply()
377 if (value.isZeroish() && fPrecision.fUnion.fracSig.fMinSig > 0) { in apply()
439 U_ASSERT(value.isZeroish()); in apply()
Dnumparse_parsednumber.cpp77 if (quantity.isZeroish() && quantity.isNegative()) { in getDouble()
110 if (quantity.isZeroish() && quantity.isNegative() && !integerOnly) { in populateFormattable()
Dnumber_compact.cpp277 if (quantity.isZeroish()) { in processQuantity()
283 magnitude = quantity.isZeroish() ? 0 : quantity.getMagnitude(); in processQuantity()
Dnumber_decimalquantity.cpp208 if (isZeroish()) { in multiplyBy()
221 if (isZeroish()) { in divideBy()
324 } else if (isZeroish() && !isInfinite()) { in signum()
339 bool DecimalQuantity::isZeroish() const { in isZeroish() function in DecimalQuantity
560 if (isZeroish()) { in fitsInLong()
Dnumber_scientific.cpp134 if (quantity.isZeroish()) { in processQuantity()
Dnumber_decimalquantity.h153 bool isZeroish() const;
Dnumber_patternstring.cpp355 if (!result.rounding.isZeroish() || state.peek() != u'0') { in consumeIntegerFormat()
535 } else if (!positive.rounding.isZeroish()) { in patternInfoToProperties()
Dfmtable.cpp739 } else if (fDecimalQuantity->isZeroish()) { in internalGetCharString()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DPrecision.java503 assert !input.isZeroish(); in chooseMultiplierAndApply()
512 if (input.isZeroish()) { in chooseMultiplierAndApply()
597 if (value.isZeroish() && minSig > 0) { in apply()
607 assert quantity.isZeroish(); in apply()
787 int magnitude = value.isZeroish() ? 0 : value.getMagnitude(); in getRoundingMagnitudeSignificant()
799 int magnitude = value.isZeroish() ? 0 : value.getMagnitude(); in getDisplayMagnitudeSignificant()
DCompactNotation.java126 if (quantity.isZeroish()) { in processQuantity()
131 magnitude = quantity.isZeroish() ? 0 : quantity.getMagnitude(); in processQuantity()
DScientificNotation.java166 if (quantity.isZeroish()) { in processQuantity()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DPrecision.java515 assert !input.isZeroish(); in chooseMultiplierAndApply()
524 if (input.isZeroish()) { in chooseMultiplierAndApply()
609 if (value.isZeroish() && minSig > 0) { in apply()
619 assert quantity.isZeroish(); in apply()
799 int magnitude = value.isZeroish() ? 0 : value.getMagnitude(); in getRoundingMagnitudeSignificant()
811 int magnitude = value.isZeroish() ? 0 : value.getMagnitude(); in getDisplayMagnitudeSignificant()
DCompactNotation.java126 if (quantity.isZeroish()) { in processQuantity()
131 magnitude = quantity.isZeroish() ? 0 : quantity.getMagnitude(); in processQuantity()
DScientificNotation.java168 if (quantity.isZeroish()) { in processQuantity()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity.java130 public boolean isZeroish(); in isZeroish() method
DDecimalQuantity_AbstractBCD.java188 if (isZeroish()) { in multiplyBy()
309 return isNegative() ? -1 : (isZeroish() && !isInfinite()) ? 0 : 1; in signum()
323 public boolean isZeroish() { in isZeroish() method in DecimalQuantity_AbstractBCD
629 if (isZeroish()) { in fitsInLong()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity.java128 public boolean isZeroish(); in isZeroish() method
DDecimalQuantity_AbstractBCD.java186 if (isZeroish()) { in multiplyBy()
307 return isNegative() ? -1 : (isZeroish() && !isInfinite()) ? 0 : 1; in signum()
321 public boolean isZeroish() { in isZeroish() method in DecimalQuantity_AbstractBCD
627 if (isZeroish()) { in fitsInLong()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DParsedNumber.java158 if (quantity.isZeroish() && quantity.isNegative() && !integerOnly) { in getNumber()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DParsedNumber.java156 if (quantity.isZeroish() && quantity.isNegative() && !integerOnly) { in getNumber()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java466 public boolean isZeroish() {
521 return isNegative() ? -1 : isZeroish() ? 0 : 1;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java469 public boolean isZeroish() {
524 return isNegative() ? -1 : isZeroish() ? 0 : 1;