Lines Matching full:exponent
76 * requires libm on most operating systems. Don't yet support the exponent
1010 int exponent = 0;
1062 * and on the exponent. However, the exponent can be
1066 * (in order to get the exponent calculated). For
1078 exponent = getexponent(fvalue);
1105 ufvalue /= mypow10(exponent);
1134 * part must be set to one and the exponent must be
1138 exponent++;
1143 * Now that we know the real exponent, we can check whether or not to
1150 * with style `E' would have an exponent of X:
1161 precision + 1 > exponent && exponent >= -4) {
1162 precision -= exponent;
1168 if (exponent < 0) {
1169 exponent = -exponent;
1175 * Convert the exponent. The sizeof(econvert) is 4. So, the
1177 * support an exponent which contains more than two digits.
1180 epos = convert(exponent, econvert, 2, 10, 0);
1182 * C99 says: "The exponent always contains at least two digits,
1184 * exponent." (7.19.6.1, 8)
1221 - epos /* Number of exponent characters. */
1274 while (epos > 0) { /* Exponent. */
1321 int exponent = 0;
1324 * We check for 99 > exponent > -99 in order to work around possible
1330 while (tmp < 1.0 && tmp > 0.0 && --exponent > -99)
1332 while (tmp >= 10.0 && ++exponent < 99)
1335 return exponent;
1386 mypow10(int exponent)
1390 while (exponent > 0) {
1392 exponent--;
1394 while (exponent < 0) {
1396 exponent++;