Lines Matching refs:RoundingMode
94 fq.roundToIncrement(0.005, RoundingMode::UNUM_ROUND_HALFEVEN, 3, status); in testDecimalQuantityBehaviorStandalone()
97 fq.roundToMagnitude(-2, RoundingMode::UNUM_ROUND_HALFEVEN, status); in testDecimalQuantityBehaviorStandalone()
116 fq.roundToMagnitude(5, RoundingMode::UNUM_ROUND_HALFEVEN, status); in testSwitchStorage()
285 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
287 } cases[] = {{1.2345678, 1, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
288 {1.2345678, 7, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
289 {1.2345678, 12, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
290 {1.2345678, 13, RoundingMode::UNUM_ROUND_HALFEVEN, true}, in testUseApproximateDoubleWhenAble()
291 {1.235, 1, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
292 {1.235, 2, RoundingMode::UNUM_ROUND_HALFEVEN, true}, in testUseApproximateDoubleWhenAble()
293 {1.235, 3, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
294 {1.000000000000001, 0, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
295 {1.000000000000001, 0, RoundingMode::UNUM_ROUND_CEILING, true}, in testUseApproximateDoubleWhenAble()
296 {1.235, 1, RoundingMode::UNUM_ROUND_CEILING, false}, in testUseApproximateDoubleWhenAble()
297 {1.235, 2, RoundingMode::UNUM_ROUND_CEILING, false}, in testUseApproximateDoubleWhenAble()
298 {1.235, 3, RoundingMode::UNUM_ROUND_CEILING, true}}; in testUseApproximateDoubleWhenAble()