/PHP-8.0/ext/standard/tests/math/ |
H A D | round_basic.phpt | 4 precision=14 19 $precision = array(2, 36 echo "...with precision $precision[$j]-> "; 66 ...with precision -> float(123) 68 ...with precision -> float(123) 79 ...with precision -> float(-5) 80 ...with precision 1-> float(-4.6) 81 ...with precision -> float(-5) 92 ...with precision -> float(12300) 144 ...with precision -> float(1) [all …]
|
H A D | round_prerounding.phpt | 2 round() prerounds results to precision 4 precision=14
|
H A D | log_error.phpt | 4 precision=14
|
H A D | sqrt_basic.phpt | 4 precision = 14
|
/PHP-8.0/ext/oci8/tests/ |
H A D | field_funcs2.phpt | 2 Bug #41917 (invalid scale and precision) 47 echo "$name ".$t[$name] .": precision $precision, scale $scale\n"; 53 C01 NUMBER: precision 0, scale -127 55 C03 NUMBER(9): precision 9, scale 0 56 C04 NUMBER(9,2): precision 9, scale 2 61 C09 DECIMAL(4): precision 4, scale 0 62 C10 INTEGER: precision 38, scale 0 63 C11 INT: precision 38, scale 0 64 C12 SMALLINT: precision 38, scale 0 65 C13 FLOAT: precision 126, scale -127 [all …]
|
H A D | imp_res_field.phpt | 60 $precision = oci_field_precision($s, $i); 65 …echo "$name\t: is_null $is_null, precision $precision, scale $scale, size $size, typeraw $typeraw,… 157 C1_NUMBER : is_null F, precision 0, scale -127, size 22, typeraw 2, type NUMBER 160 C3_VARCHAR21 : is_null F, precision 0, scale 0, size 4, typeraw 1, type VARCHAR2 162 C4_NUMBER52 : is_null F, precision 5, scale 2, size 22, typeraw 2, type NUMBER 167 C1_NUMBER : is_null F, precision 0, scale -127, size 22, typeraw 2, type NUMBER 177 C3_VARCHAR21 : is_null F, precision 0, scale 0, size 4, typeraw 1, type VARCHAR2 184 C4_NUMBER52 : is_null F, precision 5, scale 2, size 22, typeraw 2, type NUMBER 203 C1_NUMBER : is_null F, precision 0, scale -127, size 22, typeraw 2, type NUMBER 218 C4_NUMBER52 : is_null F, precision 5, scale 2, size 22, typeraw 2, type NUMBER [all …]
|
/PHP-8.0/tests/basic/ |
H A D | precision.phpt | 2 precision setting test 4 precision=14 11 ini_set('precision', -1); 13 echo ini_get('precision'), PHP_EOL; 22 ini_set('precision', 0); 24 echo ini_get('precision'), PHP_EOL; 32 ini_set('precision', 9); 42 ini_set('precision', 14); 52 ini_set('precision', 17); 62 ini_set('precision', 25); [all …]
|
/PHP-8.0/main/ |
H A D | spprintf.c | 196 int precision = 0; in xbuf_format_converter() local 288 STR_TO_DEC(fmt, precision); in xbuf_format_converter() 290 precision = va_arg(ap, int); in xbuf_format_converter() 292 if (precision < -1) in xbuf_format_converter() 293 precision = -1; in xbuf_format_converter() 295 precision = 0; in xbuf_format_converter() 385 s_len = precision; in xbuf_format_converter() 574 s_len = strnlen(s, precision); in xbuf_format_converter() 658 precision = FLOAT_DIGITS; in xbuf_format_converter() 659 else if (precision == 0) in xbuf_format_converter() [all …]
|
H A D | snprintf.c | 376 if (precision >= NDIG - 1) { in php_conv_fp() 377 precision = NDIG - 2; in php_conv_fp() 400 if (precision > 0) { in php_conv_fp() 424 if (precision > 0 || add_dp) { in php_conv_fp() 592 int precision = 0; in format_converter() local 691 if (precision < 0) in format_converter() 692 precision = 0; in format_converter() 694 precision = 0; in format_converter() 778 s_len = precision; in format_converter() 965 s_len = precision; in format_converter() [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | string_to_number_comparison.phpt | 53 echo "precision=14:\n"; 54 ini_set('precision', 14); 58 echo "precision=0:\n"; 59 ini_set('precision', 0); 87 precision=14: 90 precision=0:
|
H A D | bug68797.phpt | 4 precision=17
|
H A D | float_prec_001.phpt | 2 Double precision is used for floating point calculations
|
H A D | zend_strtod.phpt | 4 precision=14
|
/PHP-8.0/ext/pdo_pgsql/tests/ |
H A D | bug62498-32bit.phpt | 63 ["precision"]=> 82 ["precision"]=> 101 ["precision"]=> 120 ["precision"]=> 139 ["precision"]=> 158 ["precision"]=> 177 ["precision"]=> 196 ["precision"]=> 215 ["precision"]=>
|
H A D | bug62498.phpt | 63 ["precision"]=> 82 ["precision"]=> 101 ["precision"]=> 120 ["precision"]=> 139 ["precision"]=> 158 ["precision"]=> 177 ["precision"]=> 196 ["precision"]=> 215 ["precision"]=>
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | 008.phpt | 4 precision=12 8 var_dump(array(ini_get('precision'),.012,-.012,.12,-.12,1.2,-1.2,12.,-12.,0.000123,.0000123,1234567…
|
/PHP-8.0/ext/standard/ |
H A D | formatted_print.c | 220 size_t alignment, int precision, in php_sprintf_appenddouble() argument 238 precision = FLOAT_PRECISION; in php_sprintf_appenddouble() 241 precision = MAX_FLOAT_PRECISION; in php_sprintf_appenddouble() 287 if (precision == 0) in php_sprintf_appenddouble() 288 precision = 1; in php_sprintf_appenddouble() 470 width = precision = 0; in php_formatted_print() 580 precision = Z_LVAL_P(tmp); in php_formatted_print() 591 precision = 0; in php_formatted_print() 594 precision = 0; in php_formatted_print() 613 if (expprec && precision == -1 in php_formatted_print() [all …]
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_out.c | 91 while ( s_len < precision ) \ 137 int precision = 0; in format_converter() local 228 STR_TO_DEC(fmt, precision); in format_converter() 232 if (precision < 0) in format_converter() 233 precision = 0; in format_converter() 235 precision = 0; in format_converter() 334 s_len = precision; in format_converter() 508 s_len = precision; in format_converter() 571 s_len = precision; in format_converter() 664 precision = FLOAT_DIGITS; in format_converter() [all …]
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | bug31442.phpt | 4 precision=14
|
H A D | bug23298.phpt | 7 ini_set('precision', 12);
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | sprintf_variation52.phpt | 17 echo"\n-- Testing for precision value more than maximum --\n"; 47 -- Testing for precision value more than maximum -- 49 Notice: sprintf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %…
|
/PHP-8.0/ext/soap/tests/bugs/ |
H A D | bug77141.phpt | 2 Bug #77141 (Signedness issue in SOAP when precision=-1) 19 ini_set('precision', -1);
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | range_bug72017.phpt | 2 Bug #72017 (incorrect truncation due to floating point precision issue)
|
H A D | bug54459.phpt | 4 precision=14
|
/PHP-8.0/ext/bcmath/ |
H A D | config.m4 | 2 [whether to enable bc style precision math functions], 4 [Enable bc style precision math functions])])
|