Lines Matching refs:exp

400                 // carryout! High-order 1, rest 0s, larger exp.
451 // carryout! High-order 1, rest 0s, larger exp.
999 int exp = decExponent;
1004 exp = checkExponent(decExponent + precision);
1008 exp = checkExponent(precision + 1);
1012 exp = checkExponent(precision);
1015 // the real exponent to be output is actually exp - 1, not exp
1016 if (exp - 1 < -4 || exp - 1 >= precision) {
1021 precision = precision - exp;
1027 decExponentRounded = exp;
1029 if (exp > 0
1030 && ((form == Form.COMPATIBLE && (exp < 8))
1034 int charLength = Math.min(nDigits, exp);
1037 if (charLength < exp) {
1038 charLength = exp-charLength;
1070 } else if (exp <= 0
1071 && ((form == Form.COMPATIBLE && exp > -3)
1076 if (exp != 0) {
1078 int t = Math.min(-exp, precision);
1085 int t = Math.min(digits.length, precision + exp);
1116 if (exp <= 0) {
1118 e = -exp+1;
1122 e = exp-1;
1190 int exp = decExponent-kDigits;
1208 if (exp == 0 || dValue == 0.0)
1210 else if ( exp >= 0 ){
1211 if ( exp <= maxSmallTen ){
1216 rValue = dValue * small10pow[exp];
1218 tValue = rValue / small10pow[exp];
1226 if ( exp <= maxSmallTen+slop ){
1230 * Then we can multiply by 10^(exp-slop)
1234 rValue = dValue * small10pow[exp-slop];
1237 tValue = rValue / small10pow[exp-slop];
1245 * Else we have a hard case with a positive exp.
1248 if ( exp >= -maxSmallTen ){
1252 rValue = dValue / small10pow[-exp];
1253 tValue = rValue * small10pow[-exp];
1262 * Else we have a hard case with a negative exp.
1275 if ( exp > 0 ){
1283 if ( (exp&15) != 0 ){
1284 dValue *= small10pow[exp&15];
1286 if ( (exp>>=4) != 0 ){
1288 for( j = 0; exp > 1; j++, exp>>=1 ){
1289 if ( (exp&1)!=0)
1293 * The reason for the weird exp > 1 condition
1321 } else if ( exp < 0 ){
1322 exp = -exp;
1330 if ( (exp&15) != 0 ){
1331 dValue /= small10pow[exp&15];
1333 if ( (exp>>=4) != 0 ){
1335 for( j = 0; exp > 1; j++, exp>>=1 ){
1336 if ( (exp&1)!=0)
1340 * The reason for the weird exp > 1 condition
1375 * bigD0 * 10^exp
1378 exp = decExponent - nDigits;
1399 if ( exp >= 0 ){
1401 D2 = D5 = exp;
1403 B2 = B5 = -exp;
1539 int exp = decExponent-kDigits;
1557 if (exp == 0 || fValue == 0.0f)
1559 else if ( exp >= 0 ){
1560 if ( exp <= singleMaxSmallTen ){
1565 fValue *= singleSmall10pow[exp];
1569 if ( exp <= singleMaxSmallTen+slop ){
1573 * Then we can multiply by 10^(exp-slop)
1577 fValue *= singleSmall10pow[exp-slop];
1581 * Else we have a hard case with a positive exp.
1584 if ( exp >= -singleMaxSmallTen ){
1588 fValue /= singleSmall10pow[-exp];
1592 * Else we have a hard case with a negative exp.
1610 exp = decExponent-nDigits;
1611 dValue *= small10pow[exp];