Home
last modified time | relevance | path

Searched refs:digits (Results 1 – 25 of 45) sorted by last modified time

12

/PHP-7.4/Zend/
H A Dzend_operators.c3028 int digits = 0, dp_or_e = 0; local
3066 …for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr…
3087 if (digits >= MAX_LENGTH_OF_LONG) {
3123 if (digits == MAX_LENGTH_OF_LONG - 1) {
3124 int cmp = strcmp(&ptr[-digits], long_min_digits);
/PHP-7.4/ext/json/
H A Djson_encoder.c33 static const char digits[] = "0123456789abcdef"; variable
357 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string()
358 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string()
359 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
360 dst[5] = digits[us & 0xf]; in php_json_escape_string()
366 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string()
367 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string()
368 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
369 dst[5] = digits[us & 0xf]; in php_json_escape_string()
456 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
[all …]
H A Djson_scanner.re174 size_t digits = (size_t) (s->cursor - s->token - negative);
175 if (digits >= PHP_JSON_INT_MAX_LENGTH) {
176 if (digits == PHP_JSON_INT_MAX_LENGTH) {
/PHP-7.4/
H A Dphp.ini-development189 ; The number of significant digits displayed in floating point numbers.
295 ; digits after the floating point. The default value ensures that when floats
1302 ; Number of decimal digits for all bcmath functions.
H A Dphp.ini-production189 ; The number of significant digits displayed in floating point numbers.
295 ; digits after the floating point. The default value ensures that when floats
1302 ; Number of decimal digits for all bcmath functions.
/PHP-7.4/ext/bcmath/libbcmath/src/
H A Dstr2num.c45 int digits, strscale; in bc_str2num() local
54 digits = 0; in bc_str2num()
59 while (*ptr >= '0' && *ptr <= '9') ptr++, digits++; /* digits */ in bc_str2num()
62 if ((*ptr != '\0') || (digits+strscale == 0)) in bc_str2num()
70 if (digits == 0) in bc_str2num()
73 digits = 1; in bc_str2num()
75 *num = bc_new_num (digits, strscale); in bc_str2num()
94 digits = 0; in bc_str2num()
96 for (;digits > 0; digits--) in bc_str2num()
/PHP-7.4/main/
H A Dsnprintf.c138 char *digits, *dst, *src; in php_gcvt() local
151 …snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt()
152 zend_freedtoa(digits); in php_gcvt()
169 src = digits; in php_gcvt()
204 src = digits; in php_gcvt()
211 for (i = 0, src = digits; i < decpt; i++) { in php_gcvt()
219 if (src == digits) { in php_gcvt()
223 for (i = decpt; digits[i] != '\0'; i++) { in php_gcvt()
224 *dst++ = digits[i]; in php_gcvt()
229 zend_freedtoa(digits); in php_gcvt()
[all …]
/PHP-7.4/ext/standard/
H A Dvar_unserializer.re868 int digits = YYCURSOR - start - 3;
871 digits--;
875 if (digits >= MAX_LENGTH_OF_LONG - 1) {
876 if (digits == MAX_LENGTH_OF_LONG - 1) {
H A Dmath.c934 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_longtobase() local
950 *--ptr = digits[value % base]; in _php_math_longtobase()
965 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_zvaltobase() local
986 *--ptr = digits[(int) fmod(fvalue, base)]; in _php_math_zvaltobase()
/PHP-7.4/ext/standard/tests/strings/
H A Dmoney_format_basic1.phpt25 // Format with 14 positions of width, 8 digits of
28 echo "Format values with 14 positions, 8 digits to left, 2 to right using national format\n";
61 Format values with 14 positions, 8 digits to left, 2 to right using national format
H A Dprintf.phpt673 Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of 53 digits in %s…
H A Dprintf_64bit.phpt673 Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %s…
/PHP-7.4/ext/standard/tests/math/
H A Dround_basic.phpt8 * Description: Returns the rounded value of val to specified precision (number of digits
H A Dround_variation1.phpt8 * Description: Returns the rounded value of val to specified precision (number of digits
/PHP-7.4/ext/date/tests/
H A Didate_variation4.phpt25 'Year (1 or 2 digits)' => 'y',
26 'Year 4 digits' => 'Y',
58 --Year (1 or 2 digits)--
61 --Year 4 digits--
H A Didate_variation6.phpt2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi…
/PHP-7.4/ext/ctype/tests/
H A Dctype_upper_variation3.phpt32 "03F", // hexadecimal 'digits'
H A Dctype_punct_variation3.phpt34 "03F", // hexadecimal 'digits'
H A Dctype_space_variation3.phpt33 "03F", // hexadecimal 'digits'
H A Dctype_xdigit_variation2.phpt14 * valid hexadecimal 'digits'
H A Dctype_xdigit_variation3.phpt33 "03F", // hexadecimal 'digits'
H A Dctype_xdigit_variation4.phpt14 * 1. contain hexadecimal digits
15 * 2. correspond to character codes recognised as hexadecimal digits (see variation2)
23 // contain hexadecimal digits but do not correspond to 'correct' ints
29 // contain hexadecimal digits but do not correspond to 'correct' ints
H A Dctype_alnum_variation3.phpt32 "03F", // hexadecimal 'digits'
H A Dctype_alpha_variation3.phpt33 "03F", // hexadecimal 'digits'
H A Dctype_cntrl_variation3.phpt33 "03F", // hexadecimal 'digits'

Completed in 64 milliseconds

12