Home
last modified time | relevance | path

Searched refs:decExp (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFormattedFloatingDecimal.java65 int decExp = fdConverter.getDecimalExponent(); in FormattedFloatingDecimal() local
70 exp = decExp; in FormattedFloatingDecimal()
75 exp = applyPrecision(decExp, digits, nDigits, decExp + precision); in FormattedFloatingDecimal()
80 exp = applyPrecision(decExp, digits, nDigits, precision + 1); in FormattedFloatingDecimal()
85 exp = applyPrecision(decExp, digits, nDigits, precision); in FormattedFloatingDecimal()
120 private static int applyPrecision(int decExp, char[] digits, int nDigits, int prec) { in applyPrecision() argument
123 return decExp; in applyPrecision()
131 return decExp + 1; in applyPrecision()
134 return decExp; in applyPrecision()
149 return decExp+1; in applyPrecision()
[all …]
DFloatingDecimal.java515 int decExp = estimateDecExp(fractBits,binExp); in dtoa() local
520 B5 = Math.max( 0, -decExp ); in dtoa()
523 S5 = Math.max( 0, decExp ); in dtoa()
616 decExp--; in dtoa()
626 if ( !isCompatibleFormat ||decExp < -3 || decExp >= 8 ){ in dtoa()
670 decExp--; in dtoa()
680 if ( !isCompatibleFormat || decExp < -3 || decExp >= 8 ){ in dtoa()
731 decExp--; in dtoa()
741 if (!isCompatibleFormat || decExp < -3 || decExp >= 8 ){ in dtoa()
760 this.decExponent = decExp+1; in dtoa()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFormattedFloatingDecimal.java59 private static int applyPrecision(int decExp, char[] digits, int nDigits, int prec) { in applyPrecision() argument