Lines Matching refs:digits

478   /* Allocate room for a_len+2 digits.
479 (Need a_len+1 digits for the real division and 1 more digit for the
812 Return the allocated memory - containing the decimal digits in low-to-high
841 /* Store the remainder as 9 decimal digits. */
1038 Return the allocated memory - containing the decimal digits in low-to-high
1055 char *digits;
1251 digits = convert_to_decimal (z, extra_zeroes);
1253 return digits;
1260 Return the allocated memory - containing the decimal digits in low-to-high
1278 Return the allocated memory - containing the decimal digits in low-to-high
1474 /* Tests whether a string of digits consists of exactly PRECISION zeroes and
1477 is_borderline (const char *digits, size_t precision)
1479 for (; precision > 0; precision--, digits++)
1480 if (*digits != '0')
1482 if (*digits != '1')
1484 digits++;
1485 return *digits == '\0';
3626 char *digits;
3629 digits =
3631 if (digits == NULL)
3636 ndigits = strlen (digits);
3642 *p++ = digits[ndigits];
3656 *p++ = digits[ndigits];
3660 free (digits);
3681 char *digits;
3688 digits =
3691 if (digits == NULL)
3696 ndigits = strlen (digits);
3710 free (digits);
3718 if (is_borderline (digits, precision))
3728 free (digits);
3734 free (digits);
3735 digits = digits2;
3743 *p++ = digits[--ndigits];
3750 *p++ = digits[ndigits];
3754 free (digits);
3816 char *digits;
3824 digits =
3827 if (digits == NULL)
3832 ndigits = strlen (digits);
3846 free (digits);
3854 if (is_borderline (digits, precision - 1))
3864 free (digits);
3870 free (digits);
3871 digits = digits2;
3884 && digits[nzeroes] == '0')
3892 max(exponent,0)+1 digits, then the
3894 digits without trailing zeroes. */
3900 *p++ = digits[--ndigits];
3907 *p++ = digits[ndigits];
3921 *p++ = digits[ndigits];
3928 *p++ = digits[--ndigits];
3935 *p++ = digits[ndigits];
3965 free (digits);
4091 char *digits;
4094 digits =
4096 if (digits == NULL)
4098 ndigits = strlen (digits);
4104 *p++ = digits[ndigits];
4118 *p++ = digits[ndigits];
4122 free (digits);
4143 char *digits;
4150 digits =
4153 if (digits == NULL)
4155 ndigits = strlen (digits);
4169 free (digits);
4177 if (is_borderline (digits, precision))
4187 free (digits);
4192 free (digits);
4193 digits = digits2;
4201 *p++ = digits[--ndigits];
4208 *p++ = digits[ndigits];
4212 free (digits);
4219 /* Produce the same number of exponent digits
4233 /* Produce the same number of exponent digits
4290 char *digits;
4298 digits =
4301 if (digits == NULL)
4303 ndigits = strlen (digits);
4317 free (digits);
4325 if (is_borderline (digits, precision - 1))
4335 free (digits);
4340 free (digits);
4341 digits = digits2;
4354 && digits[nzeroes] == '0')
4362 max(exponent,0)+1 digits, then the
4364 digits without trailing zeroes. */
4370 *p++ = digits[--ndigits];
4377 *p++ = digits[ndigits];
4391 *p++ = digits[ndigits];
4398 *p++ = digits[--ndigits];
4405 *p++ = digits[ndigits];
4412 /* Produce the same number of exponent digits
4426 /* Produce the same number of exponent digits
4451 free (digits);
4484 /* Produce the same number of exponent digits as