• Home
  • Raw
  • Download

Lines Matching refs:RoundingMode

91     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()
239 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
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()
248 {1.000000000000001, 0, RoundingMode::UNUM_ROUND_HALFEVEN, false}, in testUseApproximateDoubleWhenAble()
249 {1.000000000000001, 0, RoundingMode::UNUM_ROUND_CEILING, true}, in testUseApproximateDoubleWhenAble()
250 {1.235, 1, RoundingMode::UNUM_ROUND_CEILING, false}, in testUseApproximateDoubleWhenAble()
251 {1.235, 2, RoundingMode::UNUM_ROUND_CEILING, false}, in testUseApproximateDoubleWhenAble()
252 {1.235, 3, RoundingMode::UNUM_ROUND_CEILING, true}}; in testUseApproximateDoubleWhenAble()