Home
last modified time | relevance | path

Searched refs:digits (Results 1 – 25 of 45) sorted by path

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/bcmath/libbcmath/
H A DREADME.md29 GMP has "integers" (no digits after a decimal), "rational numbers" (stored as
33 of digits to represent after the decimal point. The multiplying two of these
34 numbers requires one to calculate an exact number of digits after the decimal
35 point regardless of the number of digits in the integer part. GMP floats have
37 dropping digits BC must calculate.
/PHP-7.4/ext/bcmath/libbcmath/src/
H A Doutput.c69 char digits[40]; local
73 snprintf(digits, sizeof(digits), "%ld", val);
74 len = strlen (digits);
96 stk_rec *digits, *temp; in bc_out_num() local
134 digits = NULL; in bc_out_num()
156 temp->next = digits; in bc_out_num()
157 digits = temp; in bc_out_num()
162 if (digits != NULL) in bc_out_num()
165 while (digits != NULL) in bc_out_num()
167 temp = digits; in bc_out_num()
[all …]
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/ext/ctype/tests/
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'
H A Dctype_digit_variation2.phpt14 * valid decimal digits
H A Dctype_graph_variation3.phpt33 "03F", // hexadecimal 'digits'
H A Dctype_lower_variation3.phpt33 "03F", // hexadecimal 'digits'
H A Dctype_print_variation3.phpt33 "03F", // hexadecimal 'digits'
H A Dctype_punct_variation3.phpt34 "03F", // hexadecimal 'digits'
H A Dctype_space_variation3.phpt33 "03F", // hexadecimal 'digits'
H A Dctype_upper_variation3.phpt32 "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
/PHP-7.4/ext/date/tests/
H A Dbug41844.phpt2 Bug #41844 (Format returns incorrect number of digits for negative years -0001 to -0999)
H A Dbug50392.phpt2 Bug #50392 (date_create_from_format enforces 6 digits for 'u' format character)
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/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.4/ext/fileinfo/tests/
H A Dmagic99 # !Packdir compressed archive has three hexadecimal digits code 68E
7299 # If the product code is 5 digits, we'll need to backspace here.
19713 # leader starts with 5 digits, followed by codes specific to MARC format
27842 # -> xxxxxx: 6 digits
28507 # it. The interesting value is the cvs date (8 digits decimal).
29133 # characters, digits, underscore and white space followed by right bracket
H A Dmagic私はガラスを食べられます99 # !Packdir compressed archive has three hexadecimal digits code 68E
7299 # If the product code is 5 digits, we'll need to backspace here.
19713 # leader starts with 5 digits, followed by codes specific to MARC format
27842 # -> xxxxxx: 6 digits
28507 # it. The interesting value is the cvs date (8 digits decimal).
29133 # characters, digits, underscore and white space followed by right bracket
/PHP-7.4/ext/iconv/tests/
H A Dbug53304.phpt2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)

Completed in 238 milliseconds

12