Home
last modified time | relevance | path

Searched refs:getRoundingMode (Results 1 – 25 of 64) sorted by relevance

123

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java304 (comp1.getRoundingMode() != resultICU.getRoundingMode())) in testJB4971()
316 (comp2.getRoundingMode() != resultICU.getRoundingMode())) in testJB4971()
328 (comp3.getRoundingMode() != result.getRoundingMode())) in testJB4971()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java301 (comp1.getRoundingMode() != resultICU.getRoundingMode())) in testJB4971()
313 (comp2.getRoundingMode() != resultICU.getRoundingMode())) in testJB4971()
325 (comp3.getRoundingMode() != result.getRoundingMode())) in testJB4971()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java174 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited()
194 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits()
DDecimalQuantity_AbstractBCD.java185 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement()
831 .roundsAtMidpoint(mathContext.getRoundingMode().ordinal()); in roundToMagnitude()
863 mathContext.getRoundingMode().ordinal(), in roundToMagnitude()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java172 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited()
192 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits()
DDecimalQuantity_AbstractBCD.java183 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement()
829 .roundsAtMidpoint(mathContext.getRoundingMode().ordinal()); in roundToMagnitude()
861 mathContext.getRoundingMode().ordinal(), in roundToMagnitude()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java363 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
377 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode());
397 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode());
453 fallback = fallback.divide(divisor, -scale, mathContext.getRoundingMode());
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java360 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
374 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode());
394 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode());
450 fallback = fallback.divide(divisor, -scale, mathContext.getRoundingMode());
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java109 public RoundingMode getRoundingMode() { in getRoundingMode() method in NumberFormatICU
110 int icuMode = fIcuNfmt.getRoundingMode(); in getRoundingMode()
DDecimalFormatICU.java198 public RoundingMode getRoundingMode() { in getRoundingMode() method in DecimalFormatICU
199 int icuMode = fIcuDecfmt.getRoundingMode(); in getRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java149 public int getRoundingMode() { in getRoundingMode() method in NumberFormatJDK
150 RoundingMode jdkMode = fJdkNfmt.getRoundingMode(); in getRoundingMode()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBigMatrix.java114 int getRoundingMode(); in getRoundingMode() method
/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java504 public int getRoundingMode(){ in getRoundingMode() method in MathContext
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java524 public int getRoundingMode(){ in getRoundingMode() method in MathContext
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java524 public int getRoundingMode(){ in getRoundingMode() method in MathContext
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DIntrinsicInst.cpp109 ConstrainedFPIntrinsic::getRoundingMode() const { in getRoundingMode() function in ConstrainedFPIntrinsic
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DBigReal.java197 public RoundingMode getRoundingMode() { in getRoundingMode() method in BigReal
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java1177 public synchronized int getRoundingMode() { in getRoundingMode() method in DecimalFormat
1178 RoundingMode mode = exportedProperties.getRoundingMode(); in getRoundingMode()
1256 mathContext.getRoundingMode().ordinal()); in getMathContextICU()
1279 mathContextICU.getDigits(), RoundingMode.valueOf(mathContextICU.getRoundingMode())); in setMathContextICU()
DRuleBasedNumberFormat.java1501 public int getRoundingMode() { in getRoundingMode() method in RuleBasedNumberFormat
1913 …if (getRoundingMode() != BigDecimal.ROUND_UNNECESSARY && !Double.isNaN(number) && !Double.isInfini… in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1242 public synchronized int getRoundingMode() { in getRoundingMode() method in DecimalFormat
1243 RoundingMode mode = exportedProperties.getRoundingMode(); in getRoundingMode()
1329 mathContext.getRoundingMode().ordinal()); in getMathContextICU()
1354 mathContextICU.getDigits(), RoundingMode.valueOf(mathContextICU.getRoundingMode())); in setMathContextICU()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java216 switch (getField().getRoundingMode()) { in round()
/external/icu/icu4c/source/i18n/unicode/
Drbnf.h1017 virtual ERoundingMode getRoundingMode(void) const;
Dnumfmt.h1032 virtual ERoundingMode getRoundingMode(void) const;
/external/icu/icu4c/source/i18n/
Drbnf.cpp910 setRoundingMode(rhs.getRoundingMode()); in operator =()
1286 …if (getRoundingMode() != DecimalFormat::ERoundingMode::kRoundUnnecessary && !uprv_isNaN(number) &&… in format()
1291 static_cast<UNumberFormatRoundingMode>(getRoundingMode()), in format()
2008 DecimalFormat::ERoundingMode RuleBasedNumberFormat::getRoundingMode() const { in getRoundingMode() function in RuleBasedNumberFormat
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberPropertyMapper.java323 exportedProperties.setRoundingMode(mathContext.getRoundingMode()); in oldToNew()

123