Home
last modified time | relevance | path

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

123

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java60 int roundingMode, in getRoundingDirection()
128 public static boolean roundsAtMidpoint(int roundingMode) { in roundsAtMidpoint()
174 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited() local
194 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits() local
210 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.java58 int roundingMode, in getRoundingDirection()
126 public static boolean roundsAtMidpoint(int roundingMode) { in roundsAtMidpoint()
172 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited() local
192 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits() local
208 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_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.cpp200 UNumberFormatRoundingMode stem_to_object::roundingMode(skeleton::StemEnum stem) { in roundingMode() function in stem_to_object
291 void enum_to_stem_string::roundingMode(UNumberFormatRoundingMode value, UnicodeString& sb) { in roundingMode() function in enum_to_stem_string
1416 bool GeneratorHelpers::roundingMode(const MacroProps& macros, UnicodeString& sb, UErrorCode&) { in roundingMode() function in GeneratorHelpers
Dnumber_skeletons.h311 bool roundingMode = false; member
Dnumber_decimfmtprops.h136 NullableValue<RoundingMode> roundingMode; member
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterSettings.java245 public T roundingMode(RoundingMode roundingMode) { in roundingMode() method in NumberFormatterSettings
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/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatterSettings.java241 public T roundingMode(RoundingMode roundingMode) { in roundingMode() method in NumberFormatterSettings
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/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/icu4j/main/classes/core/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/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java298 int roundingMode; field in MathContext
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5FmaPrecision.cpp348 for (glw::GLuint roundingMode = 0; test_failed && roundingMode < 2; ++roundingMode) in iterate() local
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java208 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPFloat.h150 enum roundingMode { enum
/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
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp285 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble() member

123