Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java80 protected boolean isApproximate; field in DecimalQuantity_AbstractBCD
99 isApproximate = other.isApproximate; in copyFrom()
234 assert !isApproximate; in getPluralOperand() local
265 assert !isApproximate; in getUpperDisplayMagnitude() local
276 assert !isApproximate; in getLowerDisplayMagnitude() local
287 assert !isApproximate; in getDigit() local
447 isApproximate = true; in _setToDoubleFast()
664 assert !isApproximate; in toDouble() local
679 if (isApproximate) { in toBigDecimal()
731 … if (position <= 0 && !isApproximate && (!nickel || trailingDigit == 0 || trailingDigit == 5)) { in roundToMagnitude()
[all …]
DDecimalQuantity_DualStorageBCD.java180 isApproximate = false; in setBcdToZero()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java82 protected boolean isApproximate; field in DecimalQuantity_AbstractBCD
101 isApproximate = other.isApproximate; in copyFrom()
236 assert !isApproximate; in getPluralOperand() local
267 assert !isApproximate; in getUpperDisplayMagnitude() local
278 assert !isApproximate; in getLowerDisplayMagnitude() local
289 assert !isApproximate; in getDigit() local
449 isApproximate = true; in _setToDoubleFast()
666 assert !isApproximate; in toDouble() local
681 if (isApproximate) { in toBigDecimal()
733 … if (position <= 0 && !isApproximate && (!nickel || trailingDigit == 0 || trailingDigit == 5)) { in roundToMagnitude()
[all …]
DDecimalQuantity_DualStorageBCD.java182 isApproximate = false; in setBcdToZero()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp122 isApproximate = other.isApproximate; in copyFieldsFrom()
258 U_ASSERT(!isApproximate); in getPluralOperand()
284 U_ASSERT(!isApproximate); in getUpperDisplayMagnitude()
294 U_ASSERT(!isApproximate); in getLowerDisplayMagnitude()
304 U_ASSERT(!isApproximate); in getDigit()
417 isApproximate = true; in _setToDoubleFast()
426 isApproximate = false; in _setToDoubleFast()
591 U_ASSERT(!isApproximate); in toDouble()
648 if (position <= 0 && !isApproximate && (!nickel || trailingDigit == 0 || trailingDigit == 5)) { in roundToMagnitude()
663 if (!isApproximate) { in roundToMagnitude()
[all …]
Dnumber_decimalquantity.h334 UBool isApproximate; variable
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_64BitBCD.java95 isApproximate = false;
DDecimalQuantity_ByteArrayBCD.java112 isApproximate = false; in setBcdToZero()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_64BitBCD.java98 isApproximate = false;
DDecimalQuantity_ByteArrayBCD.java115 isApproximate = false; in setBcdToZero()