Home
last modified time | relevance | path

Searched refs:nDigits (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFormattedFloatingDecimal.java64 int nDigits = fdConverter.getDigits(digits); in FormattedFloatingDecimal() local
72 fillCompatible(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal()
75 exp = applyPrecision(decExp, digits, nDigits, decExp + precision); in FormattedFloatingDecimal()
76 fillDecimal(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal()
80 exp = applyPrecision(decExp, digits, nDigits, precision + 1); in FormattedFloatingDecimal()
81 fillScientific(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal()
85 exp = applyPrecision(decExp, digits, nDigits, precision); in FormattedFloatingDecimal()
91 fillScientific(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal()
95 fillDecimal(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal()
120 private static int applyPrecision(int decExp, char[] digits, int nDigits, int prec) { in applyPrecision() argument
[all …]
DFloatingDecimal.java263 private int nDigits; field in FloatingDecimal.BinaryToASCIIBuffer
296 this.nDigits = digits.length; in BinaryToASCIIBuffer()
324 System.arraycopy(this.digits,firstDigitIndex,digits,0,this.nDigits); in getDigits()
325 return this.nDigits; in getDigits()
421 this.nDigits = this.digits.length - digitno; in developLongDigits()
762 this.nDigits = ndigit; in dtoa()
771 if ( (digits[firstDigitIndex+nDigits-1]&1) != 0 ) { in dtoa()
789 int i = (firstDigitIndex + nDigits - 1);
906 assert nDigits <= 19 : nDigits; // generous bound on size of nDigits
914 int charLength = Math.min(nDigits, decExponent);
[all …]
DFDBigInteger.java207 public FDBigInteger(long lValue, char[] digits, int kDigits, int nDigits) { in FDBigInteger() argument
208 int n = Math.max((nDigits + 8) / 9, 2); // estimate size needed. in FDBigInteger()
215 int limit = nDigits - 5; // slurp digits 5 at a time. in FDBigInteger()
227 while (i < nDigits) { in FDBigInteger()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFormattedFloatingDecimal.java59 private static int applyPrecision(int decExp, char[] digits, int nDigits, int prec) { in applyPrecision() argument
64 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillCompatible() argument
73 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillDecimal() argument
78 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillScientific() argument
DFloatingDecimal.java275 int nDigits; field in FloatingDecimal.ASCIIToBinaryBuffer
392 private int nDigits; field in FloatingDecimal.BinaryToASCIIBuffer