Home
last modified time | relevance | path

Searched refs:unscaledValue (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalConstructorsTest.java72 assertEquals("incorrect value", bA, aNumber.unscaledValue()); in testConstrBI()
91 assertEquals("incorrect value", bA, aNumber.unscaledValue()); in testConstrBIScale()
107 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrBigIntegerMathContext()
124 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrBigIntegerScaleMathContext()
282 assertEquals("incorrect value", bA, aNumber.unscaledValue()); in testConstrDouble()
297 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrDoubleMathContext()
309 assertEquals("incorrect value", bA, aNumber.unscaledValue()); in testConstrDouble01()
321 assertEquals("incorrect value", bA, aNumber.unscaledValue()); in testConstrDouble02()
333 assertEquals("incorrect value", bA, aNumber.unscaledValue()); in testConstrDoubleMinus01()
345 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrInt()
[all …]
DBigDecimalTest.java41 .unscaledValue().equals(value) in test_ConstructorLjava_math_BigInteger()
51 .unscaledValue().equals(value2) in test_ConstructorLjava_math_BigIntegerI()
188 assertTrue("the sum of 23.456 + 3849.235 is wrong", sum.unscaledValue() in test_addLjava_math_BigDecimal()
226 divd3.unscaledValue().toString().equals("5287327")); in test_divideLjava_math_BigDecimalI()
582 setScale2.unscaledValue().equals(setresult) in test_setScaleI()
818 .unscaledValue().toString().equals("-2839485000")); in test_unscaledValue()
821 .unscaledValue().toString().equals("1230000000000")); in test_unscaledValue()
824 + unsVal.unscaledValue(), unsVal.unscaledValue().toString() in test_unscaledValue()
828 .unscaledValue().toString().equals("12345908")); in test_unscaledValue()
838 valueOfL.unscaledValue().toString().equals( in test_valueOfJ()
[all …]
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalConvertTest.java416 assertEquals("incorrect value", result.unscaledValue(), bdNumber.unscaledValue()); in test_stripTrailingZerosZeros()
421 assertEquals("incorrect value", result.unscaledValue(), bdNumber.unscaledValue()); in test_stripTrailingZerosZeros()
426 assertEquals("incorrect value", result.unscaledValue(), bdNumber.unscaledValue()); in test_stripTrailingZerosZeros()
436 assertEquals("incorrect value", bdResult.unscaledValue(), bdValue.unscaledValue()); in test_stripTrailingZeros()
444 assertEquals("incorrect value", bdResult.unscaledValue(), bd.unscaledValue()); in test_stripTrailingZeros()
DOldBigDecimalConstructorsTest.java43 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrBigIntegerMathContext()
124 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrBigIntegerScaleMathContext()
440 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrDoubleMathContext()
578 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrLongMathContext()
667 assertEquals("incorrect value", res, result.unscaledValue().toString()); in testConstrStringMathContext()
722 big.unscaledValue().equals(value) in test_Constructor_java_math_BigInteger_int()
728 big2.unscaledValue().equals(value2) in test_Constructor_java_math_BigInteger_int()
DBigDecimalTest.java87 assertEquals("-11111111111111111111", a.unscaledValue().toString()); in testPrecisionFromString()
88 assertEquals("-11111111111111111111", b.unscaledValue().toString()); in testPrecisionFromString()
DOldBigDecimalArithmeticTest.java526 assertTrue("the sum of 23.456 + 3849.235 is wrong", sum.unscaledValue().toString().equals( in test_addBigDecimal()
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java937 String intString = bd.unscaledValue().toString(); in toString()
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java2258 public BigInteger unscaledValue() { in unscaledValue() method in BigDecimal