Searched refs:prec (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 356 BigDecimal(BigInteger intVal, long val, int scale, int prec) { in BigDecimal() argument 358 this.precision = prec; in BigDecimal() 422 int prec = 0; // record precision value in BigDecimal() local 454 if (prec == 0) in BigDecimal() 455 prec = 1; in BigDecimal() 458 ++prec; in BigDecimal() 464 if (prec != 1 || rs != 0) in BigDecimal() 465 ++prec; // prec unchanged if preceded by 0s in BigDecimal() 477 if (prec == 0) in BigDecimal() 478 prec = 1; in BigDecimal() [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
|