Home
last modified time | relevance | path

Searched refs:decimal_point (Results 1 – 13 of 13) sorted by path

/php-src/Zend/
H A Dzend_strtod.c1823 localeconv()->decimal_point;
1828 s0 = (unsigned char*)localeconv()->decimal_point;
2615 s1 = localeconv()->decimal_point;
/php-src/ext/bcmath/libbcmath/src/
H A Dstr2num.c103 const char *decimal_point = (*ptr == '.') ? ptr : NULL; in bc_str2num() local
106 if (!decimal_point && *ptr != '\0') { in bc_str2num()
111 if (decimal_point) { in bc_str2num()
113 fractional_ptr = fractional_end = decimal_point + 1; in bc_str2num()
126 while (fractional_end - 1 > decimal_point && fractional_end[-1] == '0') { in bc_str2num()
131 fractional_ptr = decimal_point + 1; in bc_str2num()
/php-src/ext/json/tests/
H A Dbug41403.phpt2 Bug #41403 (json_decode cannot decode floats if localeconv decimal_point is not '.')
/php-src/ext/standard/
H A Dformatted_print.c27 #define LCONV_DECIMAL_POINT (*lconv.decimal_point)
29 #define LCONV_DECIMAL_POINT (*lconv->decimal_point)
290 char decimal_point = '.'; in php_sprintf_appenddouble() local
297 decimal_point = LCONV_DECIMAL_POINT; in php_sprintf_appenddouble()
302 s = zend_gcvt(number, precision, decimal_point, exp_char, &num_buf[1]); in php_sprintf_appenddouble()
H A Dstring.c5661 add_assoc_string(return_value, "decimal_point", currlocdata.decimal_point);
/php-src/ext/standard/tests/strings/
H A Dbug65230.phpt19 $sep = $conv['decimal_point'];
H A Dbug65769.phpt22 $lconv['decimal_point'],
H A Dsetlocale_variation3.phpt54 ["decimal_point"]=>
100 ["decimal_point"]=>
H A Dsetlocale_variation4.phpt52 ["decimal_point"]=>
98 ["decimal_point"]=>
H A Dsetlocale_variation5.phpt56 ["decimal_point"]=>
102 ["decimal_point"]=>
/php-src/main/
H A Dsnprintf.c37 #define LCONV_DECIMAL_POINT (*lconv.decimal_point)
39 #define LCONV_DECIMAL_POINT (*lconv->decimal_point)
276 int decimal_point; in php_conv_fp() local
283 p_orig = p = php_fcvt(num, precision, &decimal_point, is_negative); in php_conv_fp()
299 if (decimal_point <= 0) { in php_conv_fp()
304 while (decimal_point++ < 0) { in php_conv_fp()
312 int addz = decimal_point >= NDIG ? decimal_point - NDIG + 1 : 0; in php_conv_fp()
313 decimal_point -= addz; in php_conv_fp()
314 while (decimal_point-- > 0) { in php_conv_fp()
344 decimal_point--; in php_conv_fp()
[all …]
H A Dspprintf.c93 #define LCONV_DECIMAL_POINT (*lconv.decimal_point)
95 #define LCONV_DECIMAL_POINT (*lconv->decimal_point)
/php-src/tests/lang/
H A Dbug30638.phpt19 printf("decimal_point: %s\n", $lc['decimal_point']);
23 decimal_point: ,

Completed in 45 milliseconds