Home
last modified time | relevance | path

Searched defs:roundingMode (Results 1 – 25 of 53) sorted by relevance

123

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java63 int roundingMode, in getRoundingDirection()
131 public static boolean roundsAtMidpoint(int roundingMode) { in roundsAtMidpoint()
177 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited() local
197 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits() local
213 public static MathContext mathContextUnlimited(RoundingMode roundingMode) { in mathContextUnlimited()
DMacroProps.java28 public RoundingMode roundingMode; field in MacroProps
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java61 int roundingMode, in getRoundingDirection()
129 public static boolean roundsAtMidpoint(int roundingMode) { in roundsAtMidpoint()
175 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited() local
195 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits() local
211 public static MathContext mathContextUnlimited(RoundingMode roundingMode) { in mathContextUnlimited()
DMacroProps.java24 public RoundingMode roundingMode; field in MacroProps
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DShortDuration.java110 public abstract long to(TimeUnit unit, RoundingMode roundingMode); in to()
142 public abstract ShortDuration times(BigDecimal multiplicand, RoundingMode roundingMode); in times()
151 public abstract ShortDuration dividedBy(long divisor, RoundingMode roundingMode); in dividedBy()
160 public abstract ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode); in dividedBy()
214 @Override public long to(TimeUnit unit, RoundingMode roundingMode) { in to()
237 @Override public ShortDuration times(BigDecimal multiplicand, RoundingMode roundingMode) { in times()
242 @Override public ShortDuration dividedBy(long divisor, RoundingMode roundingMode) { in dividedBy()
246 @Override public ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode) { in dividedBy()
344 private static long toLong(BigDecimal bd, RoundingMode roundingMode) { in toLong()
/external/icu/icu4c/source/i18n/
Dnumber_roundingutils.h45 getRoundingDirection(bool isEven, bool isNegative, Section section, RoundingMode roundingMode, in getRoundingDirection()
121 inline bool roundsAtMidpoint(int roundingMode) { in roundsAtMidpoint()
Dnumber_decimalquantity.cpp182 void DecimalQuantity::roundToIncrement(double roundingIncrement, RoundingMode roundingMode, in roundToIncrement()
632 void DecimalQuantity::roundToNickel(int32_t magnitude, RoundingMode roundingMode, UErrorCode& statu… in roundToNickel()
636 void DecimalQuantity::roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, UErrorCode& st… in roundToMagnitude()
640 void DecimalQuantity::roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, bool nickel, U… in roundToMagnitude()
Dnumber_fluent.cpp140 Derived NumberFormatterSettings<Derived>::roundingMode(UNumberFormatRoundingMode roundingMode) cons… in roundingMode() function in NumberFormatterSettings
147 Derived NumberFormatterSettings<Derived>::roundingMode(UNumberFormatRoundingMode roundingMode)&& { in roundingMode() argument
Dnumber_skeletons.cpp198 UNumberFormatRoundingMode stem_to_object::roundingMode(skeleton::StemEnum stem) { in roundingMode() function in stem_to_object
288 void enum_to_stem_string::roundingMode(UNumberFormatRoundingMode value, UnicodeString& sb) { in roundingMode() function in enum_to_stem_string
1452 bool GeneratorHelpers::roundingMode(const MacroProps& macros, UnicodeString& sb, UErrorCode&) { in roundingMode() function in GeneratorHelpers
Dnumber_skeletons.h312 bool roundingMode = false; member
/external/OpenCL-CTS/test_conformance/conversions/
Dfplib.h27 }roundingMode; typedef
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatterSettings.java221 public T roundingMode(RoundingMode roundingMode) { in roundingMode() argument
DNumberSkeletonImpl.java239 private static RoundingMode roundingMode(StemEnum stem) { in roundingMode() method in NumberSkeletonImpl.StemToObject
335 private static void roundingMode(RoundingMode value, StringBuilder sb) { in roundingMode() method in NumberSkeletonImpl.EnumToStemString
1358 private static boolean roundingMode(MacroProps macros, StringBuilder sb) { in roundingMode() method in NumberSkeletonImpl.GeneratorHelpers
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterSettings.java230 public T roundingMode(RoundingMode roundingMode) { in roundingMode() argument
DNumberSkeletonImpl.java238 private static RoundingMode roundingMode(StemEnum stem) { in roundingMode() method in NumberSkeletonImpl.StemToObject
334 private static void roundingMode(RoundingMode value, StringBuilder sb) { in roundingMode() method in NumberSkeletonImpl.EnumToStemString
1357 private static boolean roundingMode(MacroProps macros, StringBuilder sb) { in roundingMode() method in NumberSkeletonImpl.GeneratorHelpers
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DBigReal.java53 private RoundingMode roundingMode = RoundingMode.HALF_UP; field in BigReal
206 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp301 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble() member
404 UNumberFormatRoundingMode roundingMode; in testNickelRounding() member
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java298 int roundingMode; field in MathContext
/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java287 int roundingMode; field in MathContext
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java298 int roundingMode; field in MathContext
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java208 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5FmaPrecision.cpp348 for (glw::GLuint roundingMode = 0; test_failed && roundingMode < 2; ++roundingMode) in iterate() local
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DBigFraction.java558 public BigDecimal bigDecimalValue(final int roundingMode) { in bigDecimalValue()
577 public BigDecimal bigDecimalValue(final int scale, final int roundingMode) { in bigDecimalValue()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java252 public void setRoundingMode(int roundingMode) { in setRoundingMode()
/external/llvm/include/llvm/ADT/
DAPFloat.h160 enum roundingMode { enum

123