• Home
  • Raw
  • Download

Lines Matching refs:DecimalQuantity

53 void DecimalQuantityTest::assertHealth(const DecimalQuantity &fq) {  in assertHealth()
61 DecimalQuantityTest::assertToStringAndHealth(const DecimalQuantity &fq, const UnicodeString &expect… in assertToStringAndHealth()
68 DecimalQuantity fq; in checkDoubleBehavior()
86 DecimalQuantity fq; in testDecimalQuantityBehaviorStandalone()
118 DecimalQuantity fq; in testSwitchStorage()
149 DecimalQuantity a; in testCopyMove()
151 DecimalQuantity b = a; // copy constructor in testCopyMove()
154 DecimalQuantity c(std::move(a)); // move constructor in testCopyMove()
172 DecimalQuantity a; in testCopyMove()
174 DecimalQuantity b = a; // copy constructor in testCopyMove()
177 DecimalQuantity c(std::move(a)); // move constructor in testCopyMove()
194 DecimalQuantity fq; in testAppend()
285 assertDoubleEquals(u"NaN check failed", NAN, DecimalQuantity().setToDouble(NAN).toDouble()); in testConvertToAccurateDouble()
287 u"Inf check failed", INFINITY, DecimalQuantity().setToDouble(INFINITY).toDouble()); in testConvertToAccurateDouble()
289 u"-Inf check failed", -INFINITY, DecimalQuantity().setToDouble(-INFINITY).toDouble()); in testConvertToAccurateDouble()
325 DecimalQuantity fq; in testUseApproximateDoubleWhenAble()
357 DecimalQuantity q; in testHardDoubleConversion()
367 DecimalQuantity quantity; in testFitsInLong()
415 DecimalQuantity q; in testToDouble()
424 DecimalQuantity dq; in testMaxDigits()
439 DecimalQuantity copy; in testMaxDigits()
510 DecimalQuantity dq; in testNickelRounding()
518 DecimalQuantity dq; in testNickelRounding()
593 DecimalQuantity dq; in testScientificAndCompactSuppressedExponent()
685 DecimalQuantity dqCompactScaled; in testSuppressedExponentUnchangedByInitialScaling()
690 DecimalQuantity dqCompact; in testSuppressedExponentUnchangedByInitialScaling()
757 DecimalQuantity dq = DecimalQuantity::fromExponentString(numberString, status); in testDecimalQuantityParseFormatRoundTrip()
763 DecimalQuantity dq = DecimalQuantity::fromExponentString(u"1c0", status); in testDecimalQuantityParseFormatRoundTrip()
769 dq = DecimalQuantity::fromExponentString(u"1.0c0", status); in testDecimalQuantityParseFormatRoundTrip()