/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfTileDescription.h | 74 LevelRoundingMode roundingMode; 84 roundingMode (r) 95 roundingMode == other.roundingMode;
|
ImfTileDescriptionAttribute.cpp | 63 unsigned char tmp = _value.mode | (_value.roundingMode << 4); 80 _value.roundingMode = LevelRoundingMode ((tmp >> 4) & 0x0f);
|
ImfTiledMisc.cpp | 81 V2i (levelSize (minX, maxX, lx, tileDesc.roundingMode) - 1, 82 levelSize (minY, maxY, ly, tileDesc.roundingMode) - 1); 198 num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; 206 num = roundLog2 (w, tileDesc.roundingMode) + 1; 238 num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; 246 num = roundLog2 (h, tileDesc.roundingMode) + 1; 292 tileDesc.roundingMode); 298 tileDesc.roundingMode);
|
/libcore/luni/src/main/java/java/math/ |
MathContext.java | 35 * {@link RoundingMode#HALF_EVEN} rounding. 37 public static final MathContext DECIMAL128 = new MathContext(34, RoundingMode.HALF_EVEN); 41 * precision format: 7 digit precision and {@link RoundingMode#HALF_EVEN} 44 public static final MathContext DECIMAL32 = new MathContext(7, RoundingMode.HALF_EVEN); 48 * precision format: 16 digit precision and {@link RoundingMode#HALF_EVEN} 51 public static final MathContext DECIMAL64 = new MathContext(16, RoundingMode.HALF_EVEN); 55 * {@link RoundingMode#HALF_UP} rounding. 57 public static final MathContext UNLIMITED = new MathContext(0, RoundingMode.HALF_UP); 66 * A {@code RoundingMode} object which specifies the algorithm to be used 69 private final RoundingMode roundingMode [all...] |
BigDecimal.java | 41 * @see RoundingMode#UP 48 * @see RoundingMode#DOWN 57 * @see RoundingMode#CEILING 66 * @see RoundingMode#FLOOR 74 * @see RoundingMode#HALF_UP 82 * @see RoundingMode#HALF_DOWN 90 * @see RoundingMode#HALF_EVEN 99 * @see RoundingMode#UNNECESSARY 369 * if {@code mc.precision > 0} and {@code mc.roundingMode == 407 * if {@code mc.precision > 0} and {@code mc.roundingMode = [all...] |
/external/llvm/include/llvm/ADT/ |
APFloat.h | 158 enum roundingMode { 295 opStatus add(const APFloat &, roundingMode); 296 opStatus subtract(const APFloat &, roundingMode); 297 opStatus multiply(const APFloat &, roundingMode); 298 opStatus divide(const APFloat &, roundingMode); 303 opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode); 304 opStatus roundToIntegral(roundingMode); 361 opStatus convert(const fltSemantics &, roundingMode, bool *); 362 opStatus convertToInteger(integerPart *, unsigned int, bool, roundingMode, 364 opStatus convertToInteger(APSInt &, roundingMode, bool *) const [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
ShortDuration.java | 30 import java.math.RoundingMode; 61 return ofPicos(toLong(picos, RoundingMode.HALF_UP)); 107 return to(unit, RoundingMode.HALF_UP); 110 public abstract long to(TimeUnit unit, RoundingMode roundingMode); 137 * multiplicand}, rounded according to {@code roundingMode} if necessary. 142 public abstract ShortDuration times(BigDecimal multiplicand, RoundingMode roundingMode); 146 * value {@code divisor}, rounded according to {@code roundingMode} if necessary. 151 public abstract ShortDuration dividedBy(long divisor, RoundingMode roundingMode) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
BigReal.java | 24 import java.math.RoundingMode; 53 private RoundingMode roundingMode = RoundingMode.HALF_UP; 193 * The default is {@code RoundingMode.HALF_UP} 197 public RoundingMode getRoundingMode() { 198 return roundingMode; 203 * @param roundingMode rounding mode for decimal divisions 206 public void setRoundingMode(RoundingMode roundingMode) { [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
MathContext.java | 50 * <li><code>roundingMode</code>: 285 int roundingMode; 318 * roundingMode=ROUND_HALF_UP</code>. 376 * The roundingMode setting is set to its default value 400 * precision, form, lostDigits, and roundingMode setting. 414 * @param setroundingmode The <code>int</code> roundingMode setting 440 throw new java.lang.IllegalArgumentException("Bad roundingMode value:"+" "+setroundingmode); 444 roundingMode=setroundingmode; 487 * Returns the roundingMode setting. 498 * @return an <code>int</code> which is the value of the roundingMode [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
MathContext.java | 49 * <li><code>roundingMode</code>: 296 int roundingMode; 329 * roundingMode=ROUND_HALF_UP</code>. 390 * The roundingMode setting is set to its default value 415 * precision, form, lostDigits, and roundingMode setting. 429 * @param setroundingmode The <code>int</code> roundingMode setting 456 throw new java.lang.IllegalArgumentException("Bad roundingMode value:"+" "+setroundingmode); 460 roundingMode=setroundingmode; 506 * Returns the roundingMode setting. 517 * @return an <code>int</code> which is the value of the roundingMode [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
MathContext.java | 49 * <li><code>roundingMode</code>: 296 int roundingMode; 329 * roundingMode=ROUND_HALF_UP</code>. 390 * The roundingMode setting is set to its default value 415 * precision, form, lostDigits, and roundingMode setting. 429 * @param setroundingmode The <code>int</code> roundingMode setting 456 throw new java.lang.IllegalArgumentException("Bad roundingMode value:"+" "+setroundingmode); 460 roundingMode=setroundingmode; 506 * Returns the roundingMode setting. 517 * @return an <code>int</code> which is the value of the roundingMode [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
NumberFormatICU.java | 9 import java.math.RoundingMode; 107 public RoundingMode getRoundingMode() { 109 RoundingMode mode = RoundingMode.UP; 112 mode = RoundingMode.CEILING; 115 mode = RoundingMode.DOWN; 118 mode = RoundingMode.FLOOR; 121 mode = RoundingMode.HALF_DOWN; 124 mode = RoundingMode.HALF_EVEN; 127 mode = RoundingMode.HALF_UP [all...] |
DecimalFormatICU.java | 9 import java.math.RoundingMode; 196 public RoundingMode getRoundingMode() { 198 RoundingMode mode = RoundingMode.UP; 201 mode = RoundingMode.CEILING; 204 mode = RoundingMode.DOWN; 207 mode = RoundingMode.FLOOR; 210 mode = RoundingMode.HALF_DOWN; 213 mode = RoundingMode.HALF_EVEN; 216 mode = RoundingMode.HALF_UP [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
NumberFormatJDK.java | 9 import java.math.RoundingMode; 148 RoundingMode jdkMode = fJdkNfmt.getRoundingMode(); 151 if (jdkMode.equals(RoundingMode.CEILING)) { 153 } else if (jdkMode.equals(RoundingMode.DOWN)) { 155 } else if (jdkMode.equals(RoundingMode.FLOOR)) { 157 } else if (jdkMode.equals(RoundingMode.HALF_DOWN)) { 159 } else if (jdkMode.equals(RoundingMode.HALF_EVEN)) { 161 } else if (jdkMode.equals(RoundingMode.HALF_UP)) { 163 } else if (jdkMode.equals(RoundingMode.UNNECESSARY)) { 165 } else if (jdkMode.equals(RoundingMode.UP)) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RuleBasedNumberFormat.java | 598 private int roundingMode = BigDecimal.ROUND_UNNECESSARY; [all...] |
DecimalFormat.java | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RuleBasedNumberFormat.java | 601 private int roundingMode = BigDecimal.ROUND_UNNECESSARY; [all...] |
DecimalFormat.java | [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DigitList.java | 43 import java.math.RoundingMode; 107 private RoundingMode roundingMode = RoundingMode.HALF_EVEN; 125 void setRoundingMode(RoundingMode r) { 126 roundingMode = r; 415 * java.math.RoundingMode class. 422 * mode being set to RoundingMode.UNNECESSARY 428 switch(roundingMode) { 485 "Rounding needed with the rounding mode being set to RoundingMode.UNNECESSARY") [all...] |
DecimalFormat.java | 48 import java.math.RoundingMode; 296 * {@link java.math.RoundingMode} for formatting. By default, it uses 297 * {@link java.math.RoundingMode#HALF_EVEN RoundingMode.HALF_EVEN}. 573 * mode being set to RoundingMode.UNNECESSARY 604 * mode being set to RoundingMode.UNNECESSARY 624 * mode being set to RoundingMode.UNNECESSARY 645 * mode being set to RoundingMode.UNNECESSARY 665 * mode being set to RoundingMode.UNNECESSARY 691 * mode being set to RoundingMode.UNNECESSAR [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
BigMatrixImpl.java | 85 private int roundingMode = BigDecimal.ROUND_HALF_UP; 538 return roundingMode; 544 * @param roundingMode rounding mode for decimal divisions 546 public void setRoundingMode(int roundingMode) { 547 this.roundingMode = roundingMode; [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
BigFraction.java | 550 * @param roundingMode 554 * if <tt>roundingMode</tt> does not represent a valid rounding 558 public BigDecimal bigDecimalValue(final int roundingMode) { 559 return new BigDecimal(numerator).divide(new BigDecimal(denominator), roundingMode); 572 * @param roundingMode 577 public BigDecimal bigDecimalValue(final int scale, final int roundingMode) { 578 return new BigDecimal(numerator).divide(new BigDecimal(denominator), scale, roundingMode); [all...] |
/external/icu/icu4c/source/test/intltest/ |
numberformattesttuple.h | 108 DecimalFormat::ERoundingMode roundingMode;
|
/external/llvm/lib/Support/ |
APFloat.cpp | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatTestTuple.java | 100 public Integer roundingMode = null; 204 "roundingMode", 340 roundingMode = fromString(roundingModeMap, value);
|