HomeSort by relevance Sort by last modified time
    Searched refs:roundingMode (Results 1 - 25 of 27) sorted by null

1 2

  /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 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);
277 opStatus roundToIntegral(roundingMode);
285 opStatus convert(const fltSemantics &, roundingMode, bool *);
287 roundingMode, bool *) const
    [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 1089 APFloat::handleOverflow(roundingMode rounding_mode)
1115 APFloat::roundAwayFromZero(roundingMode rounding_mode,
1152 APFloat::normalize(roundingMode rounding_mode,
    [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/icu4c/test/cintltst/
cnmdptst.c     [all...]
  /external/icu4c/i18n/unicode/
decimfmt.h     [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContextCG.cpp     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp 217 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven;
238 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven;
    [all...]
  /external/llvm/unittests/ADT/
APFloatTest.cpp 37 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven;
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp     [all...]
  /external/icu4c/i18n/
decimfmt.cpp     [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/current/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/tools/common/m2/internal/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar 

Completed in 632 milliseconds

1 2