/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...] |
/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...] |
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
MathContext.java | 52 * <li><code>roundingMode</code>: 287 int roundingMode; 320 * roundingMode=ROUND_HALF_UP</code>. 378 * The roundingMode setting is set to its default value 402 * precision, form, lostDigits, and roundingMode setting. 416 * @param setroundingmode The <code>int</code> roundingMode setting 442 throw new java.lang.IllegalArgumentException("Bad roundingMode value:"+" "+setroundingmode); 446 roundingMode=setroundingmode; 489 * Returns the roundingMode setting. 500 * @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 | 51 * <li><code>roundingMode</code>: 298 int roundingMode; 331 * roundingMode=ROUND_HALF_UP</code>. 392 * The roundingMode setting is set to its default value 417 * precision, form, lostDigits, and roundingMode setting. 431 * @param setroundingmode The <code>int</code> roundingMode setting 458 throw new java.lang.IllegalArgumentException("Bad roundingMode value:"+" "+setroundingmode); 462 roundingMode=setroundingmode; 508 * Returns the roundingMode setting. 519 * @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 | 51 * <li><code>roundingMode</code>: 298 int roundingMode; 331 * roundingMode=ROUND_HALF_UP</code>. 392 * The roundingMode setting is set to its default value 417 * precision, form, lostDigits, and roundingMode setting. 431 * @param setroundingmode The <code>int</code> roundingMode setting 458 throw new java.lang.IllegalArgumentException("Bad roundingMode value:"+" "+setroundingmode); 462 roundingMode=setroundingmode; 508 * Returns the roundingMode setting. 519 * @return an <code>int</code> which is the value of the roundingMode [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
APFloat.h | 150 enum roundingMode { 268 opStatus add(const APFloat &, roundingMode); 269 opStatus subtract(const APFloat &, roundingMode); 270 opStatus multiply(const APFloat &, roundingMode); 271 opStatus divide(const APFloat &, roundingMode); 275 opStatus mod(const APFloat &, roundingMode); 276 opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode); 284 opStatus convert(const fltSemantics &, roundingMode, bool *); 286 roundingMode, bool *) const; 287 opStatus convertToInteger(APSInt&, roundingMode, bool *) const [all...] |
/external/llvm/include/llvm/ADT/ |
APFloat.h | 160 enum roundingMode { 297 opStatus add(const APFloat &, roundingMode); 298 opStatus subtract(const APFloat &, roundingMode); 299 opStatus multiply(const APFloat &, roundingMode); 300 opStatus divide(const APFloat &, roundingMode); 305 opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode); 306 opStatus roundToIntegral(roundingMode); 363 opStatus convert(const fltSemantics &, roundingMode, bool *); 364 opStatus convertToInteger(integerPart *, unsigned int, bool, roundingMode, 366 opStatus convertToInteger(APSInt &, roundingMode, bool *) const [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmSoftFloatLib/bits32/ |
softfloat.c | 210 int8 roundingMode;
215 roundingMode = float_rounding_mode;
216 roundNearestEven = roundingMode == float_round_nearest_even;
219 if ( roundingMode == float_round_to_zero ) {
225 if ( roundingMode == float_round_up ) roundIncrement = 0;
228 if ( roundingMode == float_round_down ) roundIncrement = 0;
422 int8 roundingMode;
425 roundingMode = float_rounding_mode;
426 roundNearestEven = ( roundingMode == float_round_nearest_even );
429 if ( roundingMode == float_round_to_zero ) { [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits32/ |
softfloat.c | 211 int8 roundingMode;
216 roundingMode = float_rounding_mode;
217 roundNearestEven = roundingMode == float_round_nearest_even;
220 if ( roundingMode == float_round_to_zero ) {
226 if ( roundingMode == float_round_up ) roundIncrement = 0;
229 if ( roundingMode == float_round_down ) roundIncrement = 0;
423 int8 roundingMode;
426 roundingMode = float_rounding_mode;
427 roundNearestEven = ( roundingMode == float_round_nearest_even );
430 if ( roundingMode == float_round_to_zero ) { [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/ |
timesoftfloat.c | [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/icu/android_icu4j/src/main/java/android/icu/text/ |
RuleBasedNumberFormat.java | 601 private int roundingMode = BigDecimal.ROUND_UNNECESSARY; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatTestData.java | 102 public Integer roundingMode = null; 206 "roundingMode", 342 roundingMode = fromString(roundingModeMap, value);
|
/external/icu/icu4c/source/test/intltest/ |
numberformattesttuple.h | 110 DecimalFormat::ERoundingMode roundingMode;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RuleBasedNumberFormat.java | 604 private int roundingMode = BigDecimal.ROUND_UNNECESSARY; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatTestData.java | 101 public Integer roundingMode = null; 205 "roundingMode", 341 roundingMode = fromString(roundingModeMap, value);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
APFloat.h | 161 enum roundingMode { 245 opStatus add(const IEEEFloat &, roundingMode); 246 opStatus subtract(const IEEEFloat &, roundingMode); 247 opStatus multiply(const IEEEFloat &, roundingMode); 248 opStatus divide(const IEEEFloat &, roundingMode); 253 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode); 254 opStatus roundToIntegral(roundingMode); 311 opStatus convert(const fltSemantics &, roundingMode, bool *); 312 opStatus convertToInteger(integerPart *, unsigned int, bool, roundingMode, 314 opStatus convertToInteger(APSInt &, roundingMode, bool *) const [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DecimalFormat.java | 48 import java.math.RoundingMode; 297 * {@link java.math.RoundingMode} for formatting. By default, it uses 298 * {@link java.math.RoundingMode#HALF_EVEN RoundingMode.HALF_EVEN}. 577 * mode being set to RoundingMode.UNNECESSARY 609 * mode being set to RoundingMode.UNNECESSARY 630 * mode being set to RoundingMode.UNNECESSARY 652 * mode being set to RoundingMode.UNNECESSARY 672 * mode being set to RoundingMode.UNNECESSARY 698 * mode being set to RoundingMode.UNNECESSAR [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | 174 enum roundingMode { 254 opStatus add(const IEEEFloat &, roundingMode); 255 opStatus subtract(const IEEEFloat &, roundingMode); 256 opStatus multiply(const IEEEFloat &, roundingMode); 257 opStatus divide(const IEEEFloat &, roundingMode); 262 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode); 263 opStatus roundToIntegral(roundingMode); 279 opStatus convert(const fltSemantics &, roundingMode, bool *); 281 roundingMode, bool *) const; 282 opStatus convertFromAPInt(const APInt &, bool, roundingMode); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | 174 enum roundingMode { 254 opStatus add(const IEEEFloat &, roundingMode); 255 opStatus subtract(const IEEEFloat &, roundingMode); 256 opStatus multiply(const IEEEFloat &, roundingMode); 257 opStatus divide(const IEEEFloat &, roundingMode); 262 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode); 263 opStatus roundToIntegral(roundingMode); 279 opStatus convert(const fltSemantics &, roundingMode, bool *); 281 roundingMode, bool *) const; 282 opStatus convertFromAPInt(const APInt &, bool, roundingMode); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | 174 enum roundingMode { 254 opStatus add(const IEEEFloat &, roundingMode); 255 opStatus subtract(const IEEEFloat &, roundingMode); 256 opStatus multiply(const IEEEFloat &, roundingMode); 257 opStatus divide(const IEEEFloat &, roundingMode); 262 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode); 263 opStatus roundToIntegral(roundingMode); 279 opStatus convert(const fltSemantics &, roundingMode, bool *); 281 roundingMode, bool *) const; 282 opStatus convertFromAPInt(const APInt &, bool, roundingMode); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | 174 enum roundingMode { 254 opStatus add(const IEEEFloat &, roundingMode); 255 opStatus subtract(const IEEEFloat &, roundingMode); 256 opStatus multiply(const IEEEFloat &, roundingMode); 257 opStatus divide(const IEEEFloat &, roundingMode); 262 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode); 263 opStatus roundToIntegral(roundingMode); 279 opStatus convert(const fltSemantics &, roundingMode, bool *); 281 roundingMode, bool *) const; 282 opStatus convertFromAPInt(const APInt &, bool, roundingMode); [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | 174 enum roundingMode { 254 opStatus add(const IEEEFloat &, roundingMode); 255 opStatus subtract(const IEEEFloat &, roundingMode); 256 opStatus multiply(const IEEEFloat &, roundingMode); 257 opStatus divide(const IEEEFloat &, roundingMode); 262 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode); 263 opStatus roundToIntegral(roundingMode); 279 opStatus convert(const fltSemantics &, roundingMode, bool *); 281 roundingMode, bool *) const; 282 opStatus convertFromAPInt(const APInt &, bool, roundingMode); [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | 174 enum roundingMode { 254 opStatus add(const IEEEFloat &, roundingMode); 255 opStatus subtract(const IEEEFloat &, roundingMode); 256 opStatus multiply(const IEEEFloat &, roundingMode); 257 opStatus divide(const IEEEFloat &, roundingMode); 262 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode); 263 opStatus roundToIntegral(roundingMode); 279 opStatus convert(const fltSemantics &, roundingMode, bool *); 281 roundingMode, bool *) const; 282 opStatus convertFromAPInt(const APInt &, bool, roundingMode); [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | 174 enum roundingMode { 254 opStatus add(const IEEEFloat &, roundingMode); 255 opStatus subtract(const IEEEFloat &, roundingMode); 256 opStatus multiply(const IEEEFloat &, roundingMode); 257 opStatus divide(const IEEEFloat &, roundingMode); 262 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode); 263 opStatus roundToIntegral(roundingMode); 279 opStatus convert(const fltSemantics &, roundingMode, bool *); 281 roundingMode, bool *) const; 282 opStatus convertFromAPInt(const APInt &, bool, roundingMode); [all...] |