Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/PHP-8.3/ext/standard/tests/math/
H A Dnumber_format_basiclong_64bit.phpt38 echo "... with precision " . $precision . ": ";
54 ... with precision -20: string(1) "0"
65 ... with precision -20: string(1) "0"
72 ... with precision -10: string(1) "0"
73 ... with precision -11: string(1) "0"
74 ... with precision -17: string(1) "0"
75 ... with precision -19: string(1) "0"
76 ... with precision -20: string(1) "0"
83 ... with precision -10: string(1) "0"
84 ... with precision -11: string(1) "0"
[all …]
H A Dround_basic.phpt4 precision=14
19 $precision = array(2,
35 echo "...with precision $precision[$j]-> ";
72 ...with precision 1-> float(123.5)
73 ...with precision -> float(123)
75 ...with precision 2-> float(-4.57)
88 ...with precision 1-> float(-4.6)
89 ...with precision -> float(-5)
105 ...with precision -> float(12300)
168 ...with precision 1-> float(1.2)
[all …]
H A Dround_modes.phpt46 precision: 0
61 precision: 1
76 precision: 2
91 precision: 10
107 precision: 0
122 precision: 1
137 precision: 2
168 precision: 0
183 precision: 1
198 precision: 2
[all …]
H A Dbug30695.phpt56 Deprecated: Implicit conversion from float 4294967168 to int loses precision in %s on line %d
59 Deprecated: Implicit conversion from float 4294967168 to int loses precision in %s on line %d
61 Deprecated: Implicit conversion from float 4294965248 to int loses precision in %s on line %d
64 Deprecated: Implicit conversion from float 4294967168 to int loses precision in %s on line %d
66 Deprecated: Implicit conversion from float 4294965248 to int loses precision in %s on line %d
69 Deprecated: Implicit conversion from float 4294967168 to int loses precision in %s on line %d
71 Deprecated: Implicit conversion from float 4294965248 to int loses precision in %s on line %d
73 Deprecated: Implicit conversion from float 4294901760 to int loses precision in %s on line %d
H A Ddecbin_basic.phpt31 Deprecated: Implicit conversion from float 3950.5 to int loses precision in %s on line %d
34 Deprecated: Implicit conversion from float 3950.5 to int loses precision in %s on line %d
40 Deprecated: Implicit conversion from float-string "3950.5" to int loses precision in %s on line %d
43 Deprecated: Implicit conversion from float-string "3.9505e3" to int loses precision in %s on line %d
H A Ddechex_basic.phpt31 Deprecated: Implicit conversion from float 3950.5 to int loses precision in %s on line %d
34 Deprecated: Implicit conversion from float 3950.5 to int loses precision in %s on line %d
40 Deprecated: Implicit conversion from float-string "3950.5" to int loses precision in %s on line %d
43 Deprecated: Implicit conversion from float-string "3.9505e3" to int loses precision in %s on line %d
H A Ddecoct_basic.phpt31 Deprecated: Implicit conversion from float 3950.5 to int loses precision in %s on line %d
34 Deprecated: Implicit conversion from float 3950.5 to int loses precision in %s on line %d
40 Deprecated: Implicit conversion from float-string "3950.5" to int loses precision in %s on line %d
43 Deprecated: Implicit conversion from float-string "3.9505e3" to int loses precision in %s on line %d
H A Dround_prerounding.phpt2 round() prerounds results to precision
4 precision=14
/PHP-8.3/ext/oci8/tests/
H A Dfield_funcs2.phpt2 Bug #41917 (invalid scale and precision)
51 echo "$name ".$t[$name] .": precision $precision, scale $scale\n";
57 C01 NUMBER: precision 0, scale -127
59 C03 NUMBER(9): precision 9, scale 0
60 C04 NUMBER(9,2): precision 9, scale 2
65 C09 DECIMAL(4): precision 4, scale 0
66 C10 INTEGER: precision 38, scale 0
67 C11 INT: precision 38, scale 0
68 C12 SMALLINT: precision 38, scale 0
69 C13 FLOAT: precision 126, scale -127
[all …]
H A Dimp_res_field.phpt62 $precision = oci_field_precision($s, $i);
67 …echo "$name\t: is_null $is_null, precision $precision, scale $scale, size $size, typeraw $typeraw,…
159 C1_NUMBER : is_null F, precision 0, scale -127, size 22, typeraw 2, type NUMBER
162 C3_VARCHAR21 : is_null F, precision 0, scale 0, size 4, typeraw 1, type VARCHAR2
164 C4_NUMBER52 : is_null F, precision 5, scale 2, size 22, typeraw 2, type NUMBER
169 C1_NUMBER : is_null F, precision 0, scale -127, size 22, typeraw 2, type NUMBER
179 C3_VARCHAR21 : is_null F, precision 0, scale 0, size 4, typeraw 1, type VARCHAR2
186 C4_NUMBER52 : is_null F, precision 5, scale 2, size 22, typeraw 2, type NUMBER
205 C1_NUMBER : is_null F, precision 0, scale -127, size 22, typeraw 2, type NUMBER
220 C4_NUMBER52 : is_null F, precision 5, scale 2, size 22, typeraw 2, type NUMBER
[all …]
/PHP-8.3/tests/basic/
H A Dprecision.phpt2 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.3/Zend/tests/float_to_int/
H A Dwarnings_string_float_vars.phpt77 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
80 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
83 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
86 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
89 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
92 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
95 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
98 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
101 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
105 Deprecated: Implicit conversion from float-string "6.5" to int loses precision in %s on line %d
[all …]
H A Dwarnings_string_float_literals.phpt57 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
60 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
63 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
66 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
69 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
72 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
75 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
79 Deprecated: Implicit conversion from float-string "6.5" to int loses precision in %s on line %d
82 Deprecated: Implicit conversion from float-string "2.5" to int loses precision in %s on line %d
86 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
[all …]
H A Dwarnings_float_literals.phpt74 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
77 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
80 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
83 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
86 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
89 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
92 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
95 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
99 Deprecated: Implicit conversion from float 6.5 to int loses precision in %s on line %d
102 Deprecated: Implicit conversion from float 2.5 to int loses precision in %s on line %d
[all …]
H A Dwarnings_float_vars.phpt96 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
99 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
102 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
105 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
108 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
111 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
114 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
117 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
120 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
123 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
[all …]
H A Dwarnings_float_literals_assignment_ops.phpt37 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
40 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
43 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
46 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
49 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
53 Deprecated: Implicit conversion from float 2.5 to int loses precision in %s on line %d
H A Dwarnings_string_float_literals_assignment_ops.phpt37 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
40 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
43 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
46 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
49 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
53 Deprecated: Implicit conversion from float-string "2.5" to int loses precision in %s on line %d
/PHP-8.3/main/
H A Dsnprintf.c278 if (precision >= NDIG - 1) { in php_conv_fp()
279 precision = NDIG - 2; in php_conv_fp()
302 if (precision > 0) { in php_conv_fp()
326 if (precision > 0 || add_dp) { in php_conv_fp()
484 int precision = 0; in format_converter() local
583 if (precision < -1) in format_converter()
584 precision = -1; in format_converter()
586 precision = 0; in format_converter()
670 s_len = precision; in format_converter()
846 s_len = precision; in format_converter()
[all …]
H A Dspprintf.c170 while (s_len < (size_t)precision) { \
187 int precision = 0; in xbuf_format_converter() local
279 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
281 precision = va_arg(ap, int); in xbuf_format_converter()
283 if (precision < -1) in xbuf_format_converter()
284 precision = -1; in xbuf_format_converter()
286 precision = 0; in xbuf_format_converter()
370 s_len = precision; in xbuf_format_converter()
632 precision = FLOAT_DIGITS; in xbuf_format_converter()
633 else if (precision == 0) in xbuf_format_converter()
[all …]
/PHP-8.3/Zend/tests/
H A Dstring_to_number_comparison.phpt53 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 Dbug46701.phpt30 Deprecated: Implicit conversion from float 3428599296 to int loses precision in %s on line %d
32 Deprecated: Implicit conversion from float 3459455488 to int loses precision in %s on line %d
34 Deprecated: Implicit conversion from float 3459616768 to int loses precision in %s on line %d
44 Deprecated: Implicit conversion from float 3459455488 to int loses precision in %s on line %d
47 Deprecated: Implicit conversion from float 3459616768 to int loses precision in %s on line %d
H A Dempty_str_offset.phpt102 Deprecated: Implicit conversion from float -1.1 to int loses precision in %s on line %d
105 Deprecated: Implicit conversion from float -10.5 to int loses precision in %s on line %d
108 Deprecated: Implicit conversion from float -4.1 to int loses precision in %s on line %d
111 Deprecated: Implicit conversion from float -0.8 to int loses precision in %s on line %d
114 Deprecated: Implicit conversion from float -0.1 to int loses precision in %s on line %d
117 Deprecated: Implicit conversion from float 0.2 to int loses precision in %s on line %d
120 Deprecated: Implicit conversion from float 0.9 to int loses precision in %s on line %d
123 Deprecated: Implicit conversion from float 3.141592653589793 to int loses precision in %s on line %d
126 Deprecated: Implicit conversion from float 100.5001 to int loses precision in %s on line %d
/PHP-8.3/ext/gmp/tests/
H A Doverloading_with_float_fractional.phpt74 Deprecated: Implicit conversion from float 42.5 to int loses precision in %s on line %d
80 Deprecated: Implicit conversion from float 42.5 to int loses precision in %s on line %d
86 Deprecated: Implicit conversion from float 42.5 to int loses precision in %s on line %d
92 Deprecated: Implicit conversion from float 42.5 to int loses precision in %s on line %d
98 Deprecated: Implicit conversion from float 42.5 to int loses precision in %s on line %d
108 Deprecated: Implicit conversion from float 42.5 to int loses precision in %s on line %d
114 Deprecated: Implicit conversion from float 42.5 to int loses precision in %s on line %d
120 Deprecated: Implicit conversion from float 42.5 to int loses precision in %s on line %d
/PHP-8.3/ext/pdo_pgsql/tests/
H A Dbug62498-32bit.phpt67 ["precision"]=>
86 ["precision"]=>
105 ["precision"]=>
124 ["precision"]=>
143 ["precision"]=>
162 ["precision"]=>
181 ["precision"]=>
200 ["precision"]=>
219 ["precision"]=>
H A Dbug62498.phpt67 ["precision"]=>
86 ["precision"]=>
105 ["precision"]=>
124 ["precision"]=>
143 ["precision"]=>
162 ["precision"]=>
181 ["precision"]=>
200 ["precision"]=>
219 ["precision"]=>

Completed in 37 milliseconds

12345678910>>...16