Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/
DFloatingDecimal.java39 int nDigits; field in FloatingDecimal
363 this.nDigits = ndigits; in developLongDigits()
376 int q = digits[ i = (nDigits-1)]; in roundup()
436 nDigits = digits.length; in loadDouble()
449 nDigits = 1; in loadDouble()
500 nDigits = digits.length; in loadFloat()
513 nDigits = 1; in loadFloat()
878 this.nDigits = ndigit; in dtoa()
887 if ( (digits[nDigits-1]&1) != 0 ) roundup(); in dtoa()
900 StringBuffer result = new StringBuffer( nDigits+8 );
[all …]
/libcore/ojluni/src/main/java/sun/misc/
DFormattedFloatingDecimal.java39 int nDigits; field in FormattedFloatingDecimal
57 this.nDigits = n; in FormattedFloatingDecimal()
380 this.nDigits = ndigits; in developLongDigits()
393 int q = digits[ i = (nDigits-1)]; in roundup()
412 if (length >= nDigits || length < 0) in checkExponent()
425 char [] result = new char[nDigits]; in applyPrecision()
428 if (length >= nDigits || length < 0) { in applyPrecision()
430 System.arraycopy(digits, 0, result, 0, nDigits); in applyPrecision()
501 nDigits = digits.length; in FormattedFloatingDecimal()
514 nDigits = 1; in FormattedFloatingDecimal()
[all …]