Searched defs:digits (Results 1 - 7 of 7) sorted by relevance

/PHP_5_3/ext/bcmath/libbcmath/src/
H A Doutput.c45 /* This structure is used for saving digits in the conversion process. */
51 /* The reference string for digits. */
55 /* A special output routine for "multi-character digits." Exactly
70 char digits[40]; local
74 snprintf(digits, sizeof(digits), "%ld", val);
75 len = strlen (digits);
82 (*out_char) (digits[ix]);
97 stk_rec *digits, *temp; local
135 digits
[all...]
H A Dstr2num.c46 int digits, strscale; local
53 /* Check for valid number and count digits. */
55 digits = 0;
60 while (isdigit((int)*ptr)) ptr++, digits++; /* digits */
62 while (isdigit((int)*ptr)) ptr++, strscale++; /* digits */
63 if ((*ptr != '\0') || (digits+strscale == 0))
71 if (digits == 0)
74 digits = 1;
76 *num = bc_new_num (digits, strscal
[all...]
/PHP_5_3/ext/json/
H A Djson.c38 static const char digits[] = "0123456789abcdef"; variable
416 smart_str_appendc(buf, digits[us & ((1 << 4) - 1)]);
418 smart_str_appendc(buf, digits[us & ((1 << 4) - 1)]);
420 smart_str_appendc(buf, digits[us & ((1 << 4) - 1)]);
422 smart_str_appendc(buf, digits[us & ((1 << 4) - 1)]);
/PHP_5_3/ext/standard/
H A Dmath.c905 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; local
920 *--ptr = digits[value % base];
935 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; local
956 *--ptr = digits[(int) fmod(fvalue, base)];
1186 * separator every three digits */
H A Dvar_unserializer.c1039 int digits = YYCURSOR - start - 3; local
1042 digits--;
1046 if (digits >= MAX_LENGTH_OF_LONG - 1) {
1047 if (digits == MAX_LENGTH_OF_LONG - 1) {
/PHP_5_3/main/
H A Dsnprintf.c139 char *digits, *dst, *src; local
142 digits = zend_dtoa(value, 2, ndigit, &decpt, &sign, NULL);
148 snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "NAN");
149 zend_freedtoa(digits);
166 src = digits;
202 src = digits;
209 for (i = 0, src = digits; i < decpt; i++) {
217 if (src == digits) {
221 for (i = decpt; digits[
483 register char *digits = (format == 'X') ? upper_digits : low_digits; local
[all...]
/PHP_5_3/Zend/
H A Dzend_operators.h105 int base = 10, digits = 0, dp_or_e = 0; local
138 /* Count the number of digits. If a decimal point/exponent is found,
140 * a full match, stop when there are too many digits for a long */
141 for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr++) {
164 if (digits >= MAX_LENGTH_OF_LONG) {
168 } else if (!(digits < SIZEOF_LONG * 2 || (digits == SIZEOF_LONG * 2 && ptr[-digits] <= '7'))) {
179 * the digits i
[all...]

Completed in 9 milliseconds