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

  /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 47 * @see RoundingMode#UP
54 * @see RoundingMode#DOWN
63 * @see RoundingMode#CEILING
72 * @see RoundingMode#FLOOR
80 * @see RoundingMode#HALF_UP
88 * @see RoundingMode#HALF_DOWN
96 * @see RoundingMode#HALF_EVEN
105 * @see RoundingMode#UNNECESSARY
379 * if {@code mc.precision > 0} and {@code mc.roundingMode ==
417 * 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);
284 opStatus convert(const fltSemantics &, roundingMode, bool *);
286 roundingMode, bool *) const;
287 opStatus convertToInteger(APSInt&, roundingMode, bool *) const
    [all...]
  /libcore/luni/src/main/java/java/text/
DecimalFormat.java 26 import java.math.RoundingMode;
515 private transient RoundingMode roundingMode = RoundingMode.HALF_EVEN;
675 if (roundingMode == RoundingMode.UNNECESSARY) {
678 setRoundingMode(RoundingMode.UP);
680 setRoundingMode(RoundingMode.DOWN);
686 setRoundingMode(RoundingMode.UNNECESSARY);
    [all...]
NumberFormat.java 26 import java.math.RoundingMode;
826 * Returns the {@code RoundingMode} used by this {@code NumberFormat}. The default
831 public RoundingMode getRoundingMode() {
836 * Sets the {@code RoundingMode} used by this {@code NumberFormat}. The default
841 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 1116 APFloat::handleOverflow(roundingMode rounding_mode)
1142 APFloat::roundAwayFromZero(roundingMode rounding_mode,
1181 APFloat::normalize(roundingMode rounding_mode,
    [all...]
  /libcore/luni/src/main/java/libcore/icu/
NativeDecimalFormat.java 21 import java.math.RoundingMode;
489 public void setRoundingMode(RoundingMode roundingMode, double roundingIncrement) {
491 switch (roundingMode) {
639 private static native void setRoundingMode(int addr, int roundingMode, double roundingIncrement);
  /external/icu4c/i18n/unicode/
decimfmt.h     [all...]
  /external/icu4c/test/cintltst/
cnmdptst.c     [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContextCG.cpp     [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp     [all...]
  /external/icu4c/i18n/
decimfmt.cpp     [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/9/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 2442 milliseconds