Home
last modified time | relevance | path

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

123

/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/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/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java177 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited()
197 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits()
DDecimalQuantity_AbstractBCD.java176 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement()
839 .roundsAtMidpoint(mathContext.getRoundingMode().ordinal()); in roundToMagnitude()
877 mathContext.getRoundingMode().ordinal(), in roundToMagnitude()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java175 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited()
195 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits()
DDecimalQuantity_AbstractBCD.java174 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement()
837 .roundsAtMidpoint(mathContext.getRoundingMode().ordinal()); in roundToMagnitude()
875 mathContext.getRoundingMode().ordinal(), in roundToMagnitude()
/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java362 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
382 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode());
402 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode());
458 fallback = fallback.divide(divisor, -scale, mathContext.getRoundingMode());
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java365 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
385 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode());
405 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode());
461 fallback = fallback.divide(divisor, -scale, mathContext.getRoundingMode());
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBigMatrix.java114 int getRoundingMode(); in getRoundingMode() method
/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/android_icu4j/src/main/java/android/icu/math/
DMathContext.java504 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/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1249 public synchronized int getRoundingMode() { in getRoundingMode() method in DecimalFormat
1250 RoundingMode mode = exportedProperties.getRoundingMode(); in getRoundingMode()
1336 mathContext.getRoundingMode().ordinal()); in getMathContextICU()
1361 mathContextICU.getDigits(), RoundingMode.valueOf(mathContextICU.getRoundingMode())); in setMathContextICU()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java1182 public synchronized int getRoundingMode() { in getRoundingMode() method in DecimalFormat
1183 RoundingMode mode = exportedProperties.getRoundingMode(); in getRoundingMode()
1261 mathContext.getRoundingMode().ordinal()); in getMathContextICU()
1284 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/icu4c/source/i18n/unicode/
Drbnf.h997 virtual ERoundingMode getRoundingMode(void) const;
Dnumfmt.h1050 virtual ERoundingMode getRoundingMode(void) const;
Ddecimfmt.h1404 virtual ERoundingMode getRoundingMode(void) const U_OVERRIDE;
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java216 switch (getField().getRoundingMode()) { in round()
/external/icu/icu4c/source/i18n/
Drbnf.cpp916 setRoundingMode(rhs.getRoundingMode()); in operator =()
1253 …if (getRoundingMode() != DecimalFormat::ERoundingMode::kRoundUnnecessary && !uprv_isNaN(number) &&… in format()
1258 static_cast<UNumberFormatRoundingMode>(getRoundingMode()), in format()
1975 DecimalFormat::ERoundingMode RuleBasedNumberFormat::getRoundingMode() const { in getRoundingMode() function in RuleBasedNumberFormat

123