Home
last modified time | relevance | path

Searched defs:precision (Results 1 – 11 of 11) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DIllegalFormatPrecisionExceptionTest.java42 int precision = 12345; in test_getPrecision() local
52 int precision = 12345; in test_getMessage() local
DFormatterTest.java80 int precision) throws IllegalFormatException { in formatTo()
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalConstructorsTest.java37 int precision = 46; in testConstrBigIntegerMathContext() local
118 int precision = 46; in testConstrBigIntegerScaleMathContext() local
281 int precision = 4; in testConstrCharIntIntMathContext() local
374 int precision = 4; in testConstrCharIntIntMathContextException1() local
434 int precision = 21; in testConstrDoubleMathContext() local
572 int precision = 5; in testConstrLongMathContext() local
661 int precision = 5; in testConstrStringMathContext() local
/libcore/luni/src/main/java/java/math/
DMathContext.java63 private final int precision; field in MathContext
82 public MathContext(int precision) { in MathContext()
101 public MathContext(int precision, RoundingMode roundingMode) { in MathContext()
DBigDecimal.java235 private transient int precision = 0; field in BigDecimal
1783 public int precision() { in precision() method in BigDecimal
/libcore/luni/src/main/java/java/util/
DFormattable.java57 void formatTo(Formatter formatter, int flags, int width, int precision) in formatTo()
DFormatter.java1151 private int precision = UNSET; field in Formatter.FormatToken
1615 int precision = formatToken.getPrecision(); in padding() local
2111 final int precision = formatToken.getPrecision(); in transformE() local
2144 int precision = formatToken.getPrecision(); in transformG() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalConstructorsTest.java101 int precision = 46; in testConstrBigIntegerMathContext() local
118 int precision = 46; in testConstrBigIntegerScaleMathContext() local
175 int precision = 4; in testConstrCharIntIntMathContext() local
199 int precision = 4; in testConstrCharIntIntMathContextException1() local
216 int precision = 4; in testConstrCharIntIntMathContextException2() local
291 int precision = 21; in testConstrDoubleMathContext() local
354 int precision = 21; in testConstrIntMathContext() local
381 int precision = 5; in testConstrLongMathContext() local
675 int precision = 5; in testConstrStringMathContext() local
DBigDecimalCompareTest.java62 int precision = 15; in testAbsMathContextNeg() local
78 int precision = 41; in testAbsMathContextPos() local
373 int precision = 37; in testPlusMathContextPositive() local
403 int precision = 46; in testPlusMathContextNegative() local
433 int precision = 37; in testNegateMathContextPositive() local
463 int precision = 46; in testNegateMathContextNegative() local
DBigDecimalArithmeticTest.java1158 int precision = 21; in testDivideBigDecimalScaleMathContextUP() local
1178 int precision = 21; in testDivideBigDecimalScaleMathContextDOWN() local
1198 int precision = 21; in testDivideBigDecimalScaleMathContextCEILING() local
1218 int precision = 21; in testDivideBigDecimalScaleMathContextFLOOR() local
1238 int precision = 21; in testDivideBigDecimalScaleMathContextHALF_UP() local
1258 int precision = 21; in testDivideBigDecimalScaleMathContextHALF_DOWN() local
1278 int precision = 21; in testDivideBigDecimalScaleMathContextHALF_EVEN() local
1333 int precision = 32; in testDivideToIntegralValueMathContextUP() local
1353 int precision = 75; in testDivideToIntegralValueMathContextDOWN() local
1417 int precision = 75; in testDivideAndRemainderMathContextUP() local
[all …]
DBigDecimalTest.java925 int precision = 6; in testMathContextConstruction() local