Searched refs:prec (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 3356 int prec = (precision == -1 ? 6 : precision); 3359 = FormattedFloatingDecimal.valueOf(value, prec, 3362 char[] mant = addZeros(fd.getMantissa(), prec); 3366 if (f.contains(Flags.ALTERNATE) && (prec == 0)) 3396 int prec = (precision == -1 ? 6 : precision); 3399 = FormattedFloatingDecimal.valueOf(value, prec, 3402 char[] mant = addZeros(fd.getMantissa(), prec); 3406 if (f.contains(Flags.ALTERNATE) && (prec == 0)) 3414 int prec = precision; 3416 prec = 6; [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FormattedFloatingDecimal.java | 120 private static int applyPrecision(int decExp, char[] digits, int nDigits, int prec) { in applyPrecision() argument 121 if (prec >= nDigits || prec < 0) { in applyPrecision() 125 if (prec == 0) { in applyPrecision() 137 int q = digits[prec]; in applyPrecision() 139 int i = prec; in applyPrecision() 155 Arrays.fill(digits, prec, nDigits, '0'); in applyPrecision()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FormattedFloatingDecimal.java | 59 private static int applyPrecision(int decExp, char[] digits, int nDigits, int prec) { in applyPrecision() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalScaleOperationsTest.java | 345 int prec = aNumber.precision(); in testPrecision() local 346 assertEquals(68, prec); in testPrecision()
|