Home
last modified time | relevance | path

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

123

/PHP-7.3/Zend/
H A Dzend_operators.c3017 int digits = 0, dp_or_e = 0; local
3055 …for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr…
3076 if (digits >= MAX_LENGTH_OF_LONG) {
3109 if (digits == MAX_LENGTH_OF_LONG - 1) {
3110 int cmp = strcmp(&ptr[-digits], long_min_digits);
/PHP-7.3/
H A Dphp.ini-production194 ; The number of significant digits displayed in floating point numbers.
293 ; digits after the floating point. The default value ensures that when floats
1327 ; Number of decimal digits for all bcmath functions.
H A Dphp.ini-development194 ; The number of significant digits displayed in floating point numbers.
293 ; digits after the floating point. The default value ensures that when floats
1325 ; Number of decimal digits for all bcmath functions.
/PHP-7.3/ext/bcmath/libbcmath/src/
H A Dstr2num.c46 int digits, strscale; in bc_str2num() local
55 digits = 0; in bc_str2num()
60 while (*ptr >= '0' && *ptr <= '9') ptr++, digits++; /* digits */ in bc_str2num()
63 if ((*ptr != '\0') || (digits+strscale == 0)) in bc_str2num()
71 if (digits == 0) in bc_str2num()
74 digits = 1; in bc_str2num()
76 *num = bc_new_num (digits, strscale); in bc_str2num()
95 digits = 0; in bc_str2num()
97 for (;digits > 0; digits--) in bc_str2num()
/PHP-7.3/main/
H A Dsnprintf.c142 char *digits, *dst, *src; in php_gcvt() local
155 …snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt()
156 zend_freedtoa(digits); in php_gcvt()
173 src = digits; in php_gcvt()
209 src = digits; in php_gcvt()
216 for (i = 0, src = digits; i < decpt; i++) { in php_gcvt()
224 if (src == digits) { in php_gcvt()
228 for (i = decpt; digits[i] != '\0'; i++) { in php_gcvt()
229 *dst++ = digits[i]; in php_gcvt()
234 zend_freedtoa(digits); in php_gcvt()
[all …]
/PHP-7.3/ext/standard/
H A Dvar_unserializer.c1115 int digits = YYCURSOR - start - 3; in php_var_unserialize_internal() local
1118 digits--; in php_var_unserialize_internal()
1122 if (digits >= MAX_LENGTH_OF_LONG - 1) { in php_var_unserialize_internal()
1123 if (digits == MAX_LENGTH_OF_LONG - 1) { in php_var_unserialize_internal()
H A Dvar_unserializer.re751 int digits = YYCURSOR - start - 3;
754 digits--;
758 if (digits >= MAX_LENGTH_OF_LONG - 1) {
759 if (digits == MAX_LENGTH_OF_LONG - 1) {
H A Dmath.c915 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_longtobase() local
931 *--ptr = digits[value % base]; in _php_math_longtobase()
946 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_zvaltobase() local
967 *--ptr = digits[(int) fmod(fvalue, base)]; in _php_math_zvaltobase()
/PHP-7.3/ext/standard/tests/strings/
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…
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
/PHP-7.3/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_error.phpt6 * 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
H A Dround_variation2.phpt8 * Description: Returns the rounded value of val to specified precision (number of digits
/PHP-7.3/ext/mbstring/oniguruma/
H A DHISTORY1361 an octal char and number digits.
/PHP-7.3/ext/mbstring/oniguruma/doc/
H A DSYNTAX.md329 The `\d` metacharacter in Unicode matches `[0-9]`, as well as digits in Arabic, Devanagari,
395 Enables support for octal-style escapes of up to three digits, like `\1` for code
404 Enables support for hexadecimal-style escapes of up to two digits, like `\x1` for code
412 Enables support for brace-wrapped hexadecimal-style escapes of up to eight digits,
420 Enables support for brace-wrapped octal-style escapes of up to eleven digits,
591 code-points by number, using up to four hexadecimal digits (up to `\uFFFF`). So,
594 For code points larger than four digits, like the emoji `��` (aerial tramway, or code
597 ONIG_SYN_OP_ESC_O_BRACE_OCTAL, which support more than four digits.
642 Somewhat like `\d` matches decimal digits, `\h` matches hexadecimal digits — that is,
/PHP-7.3/ext/json/
H A Djson_encoder.c33 static const char digits[] = "0123456789abcdef"; variable
345 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string()
346 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string()
347 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
348 dst[5] = digits[us & 0xf]; in php_json_escape_string()
354 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string()
355 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string()
356 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
357 dst[5] = digits[us & 0xf]; in php_json_escape_string()
454 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string()
[all …]
H A Djson_scanner.c319 size_t digits = (size_t) (s->cursor - s->token - negative); in php_json_scan() local
320 if (digits >= PHP_JSON_INT_MAX_LENGTH) { in php_json_scan()
321 if (digits == PHP_JSON_INT_MAX_LENGTH) { in php_json_scan()
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.3/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます99 # !Packdir compressed archive has three hexadecimal digits code 68E
6481 # If the product code is 5 digits, we'll need to backspace here.
18064 # leader starts with 5 digits, followed by codes specific to MARC format
26038 # -> xxxxxx: 6 digits
26519 # it. The interesting value is the cvs date (8 digits decimal).
27071 # characters, digits, underscore and white space followed by right bracket
H A Dmagic99 # !Packdir compressed archive has three hexadecimal digits code 68E
6481 # If the product code is 5 digits, we'll need to backspace here.
18064 # leader starts with 5 digits, followed by codes specific to MARC format
26038 # -> xxxxxx: 6 digits
26519 # it. The interesting value is the cvs date (8 digits decimal).
27071 # characters, digits, underscore and white space followed by right bracket
/PHP-7.3/ext/fileinfo/libmagic/
H A Dder.c176 uint8_t digits, i; in getlength() local
189 digits = c[(*p)++] & 0x7f; in getlength()
190 if (*p + digits >= l) in getlength()
194 return digits; in getlength()
201 for (i = 0; i < digits; i++) in getlength()
/PHP-7.3/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…

Completed in 181 milliseconds

123