Home
last modified time | relevance | path

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

/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFormattedFloatingDecimal.java32 int precision, in FormattedFloatingDecimal()
39 double d, int precision, sun.misc.FormattedFloatingDecimal.Form form) { in valueOf()
64 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillCompatible()
73 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillDecimal()
78 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillScientific()
/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.java81 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
1791 public int precision() { in precision() method in BigDecimal
/libcore/ojluni/src/main/java/sun/misc/
DFormattedFloatingDecimal.java35 public static FormattedFloatingDecimal valueOf(double d, int precision, Form form){ in valueOf()
57 …private FormattedFloatingDecimal(int precision, Form form, FloatingDecimal.BinaryToASCIIConverter … in FormattedFloatingDecimal()
163 …private void fillCompatible(int precision, char[] digits, int nDigits, int exp, boolean isNegative… in fillCompatible()
262 … private void fillDecimal(int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillDecimal()
314 …private void fillScientific(int precision, char[] digits, int nDigits, int exp, boolean isNegative… in fillScientific()
/libcore/ojluni/src/main/java/java/util/
DFormattable.java163 void formatTo(Formatter formatter, int flags, int width, int precision); in formatTo()
DFormatter.java2578 private String precision; field in Formatter.FormatSpecifierParser
2706 private int precision; field in Formatter.FormatSpecifier
2758 private int precision(String s) { in precision() method in Formatter.FormatSpecifier
2774 int precision() { in precision() method in Formatter.FormatSpecifier
/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.java923 int precision = 6; in testMathContextConstruction() local
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalQueries.java243 public static TemporalQuery<TemporalUnit> precision() { in precision() method in TemporalQueries
/libcore/ojluni/src/main/java/javax/sql/
DRowSetMetaData.java183 void setPrecision(int columnIndex, int precision) throws SQLException; in setPrecision()
/libcore/ojluni/src/main/java/sun/security/util/
DDerInputBuffer.java364 int precision = 0; in getTime() local