Home
last modified time | relevance | path

Searched refs:UNUM_ROUND_HALFEVEN (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp91 fq.roundToIncrement(0.005, RoundingMode::UNUM_ROUND_HALFEVEN, 3, status); in testDecimalQuantityBehaviorStandalone()
94 fq.roundToMagnitude(-2, RoundingMode::UNUM_ROUND_HALFEVEN, status); in testDecimalQuantityBehaviorStandalone()
113 fq.roundToMagnitude(5, RoundingMode::UNUM_ROUND_HALFEVEN, status); in testSwitchStorage()
241 } cases[] = {{1.2345678, 1, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
242 {1.2345678, 7, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
243 {1.2345678, 12, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
244 {1.2345678, 13, RoundingMode::UNUM_ROUND_HALFEVEN, true}, in testUseApproximateDoubleWhenAble()
245 {1.235, 1, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
246 {1.235, 2, RoundingMode::UNUM_ROUND_HALFEVEN, true}, in testUseApproximateDoubleWhenAble()
247 {1.235, 3, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
[all …]
Dnumfmtst.cpp7212 unum_setAttribute(fmt,UNUM_ROUNDING_MODE,UNUM_ROUND_HALFEVEN); in Test9087()
/external/icu/icu4c/source/i18n/unicode/
Dunum.h284 UNUM_ROUND_HALFEVEN, enumerator
290 UNUM_FOUND_HALFEVEN = UNUM_ROUND_HALFEVEN,
292 UNUM_ROUND_HALFDOWN = UNUM_ROUND_HALFEVEN + 1,
/external/icu/icu4c/source/i18n/
Dnumber_roundingutils.h90 case RoundingMode::UNUM_ROUND_HALFEVEN: in getRoundingDirection()