/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 | 155 enum roundingMode { 293 opStatus add(const APFloat &, roundingMode); 294 opStatus subtract(const APFloat &, roundingMode); 295 opStatus multiply(const APFloat &, roundingMode); 296 opStatus divide(const APFloat &, roundingMode); 300 opStatus mod(const APFloat &, roundingMode); 301 opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode); 302 opStatus roundToIntegral(roundingMode); 320 opStatus convert(const fltSemantics &, roundingMode, bool *); 321 opStatus convertToInteger(integerPart *, unsigned int, bool, roundingMode, [all...] |
/libcore/luni/src/main/java/java/text/ |
DecimalFormat.java | 26 import java.math.RoundingMode; 506 private transient RoundingMode roundingMode = RoundingMode.HALF_EVEN; 663 if (roundingMode == RoundingMode.UNNECESSARY) { 666 setRoundingMode(RoundingMode.UP); 668 setRoundingMode(RoundingMode.DOWN); 674 setRoundingMode(RoundingMode.UNNECESSARY); [all...] |
NumberFormat.java | 26 import java.math.RoundingMode; 822 * Returns the {@code RoundingMode} used by this {@code NumberFormat}. The default 827 public RoundingMode getRoundingMode() { 832 * Sets the {@code RoundingMode} used by this {@code NumberFormat}. The default 837 public void setRoundingMode(RoundingMode roundingMode) {
|
/external/qemu/fpu/ |
softfloat.c | 114 int8 roundingMode; 119 roundingMode = STATUS(float_rounding_mode); 120 roundNearestEven = ( roundingMode == float_round_nearest_even ); 123 if ( roundingMode == float_round_to_zero ) { 129 if ( roundingMode == float_round_up ) roundIncrement = 0; 132 if ( roundingMode == float_round_down ) roundIncrement = 0; 164 int8 roundingMode; 168 roundingMode = STATUS(float_rounding_mode); 169 roundNearestEven = ( roundingMode == float_round_nearest_even ); 172 if ( roundingMode == float_round_to_zero ) [all...] |
/external/llvm/lib/Support/ |
APFloat.cpp | [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
NativeDecimalFormat.java | 21 import java.math.RoundingMode; 494 public void setRoundingMode(RoundingMode roundingMode, double roundingIncrement) { 496 switch (roundingMode) { 644 private static native void setRoundingMode(long addr, int roundingMode, double roundingIncrement);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
decimfmt.h | [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cnmdptst.c | [all...] |
/external/icu4c/test/cintltst/ |
cnmdptst.c | [all...] |
/external/icu4c/i18n/unicode/ |
decimfmt.h | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 252 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; 273 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
decimfmt.cpp | [all...] |
/external/icu4c/i18n/ |
decimfmt.cpp | [all...] |
/external/llvm/unittests/ADT/ |
APFloatTest.cpp | 457 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; 480 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/7/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |