Home
last modified time | relevance | path

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

12345678910>>...16

/PHP-5.5/ext/standard/tests/math/
H A Dround_basic.phpt4 precision=14
26 $precision = array(2,
44 echo "...with precision $precision[$j]-> ";
77 ...with precision -> float(123)
79 ...with precision -> float(123)
91 ...with precision -> float(-5)
92 ...with precision 1-> float(-4.6)
93 ...with precision -> float(-5)
105 ...with precision -> float(12300)
161 ...with precision -> float(1)
[all …]
H A Dround_prerounding.phpt2 round() prerounds results to precision
4 precision=14
H A Dround_error.phpt5 /* Prototype : float round ( float $val [, int $precision ] )
6 * Description: Returns the rounded value of val to specified precision (number of digits
H A Dround_variation2.phpt2 Test round() function : usage variations - different data types as $precision argument
4 precision=14
7 /* Prototype : float round ( float $val [, int $precision ] )
8 * Description: Returns the rounded value of val to specified precision (number of digits
H A Dround_variation1.phpt4 precision=14
7 /* Prototype : float round ( float $val [, int $precision ] )
8 * Description: Returns the rounded value of val to specified precision (number of digits
H A Dsqrt_basic.phpt4 precision = 14
H A Dpi_basic.phpt4 precision=14
/PHP-5.5/ext/oci8/tests/
H A Dfield_funcs2.phpt2 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 …]
/PHP-5.5/main/
H A Dspprintf.c210 int precision = 0; in xbuf_format_converter() local
304 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
306 precision = va_arg(ap, int); in xbuf_format_converter()
308 if (precision < 0) in xbuf_format_converter()
309 precision = 0; in xbuf_format_converter()
311 precision = 0; in xbuf_format_converter()
410 s_len = precision; in xbuf_format_converter()
587 s_len = strnlen(s, precision); in xbuf_format_converter()
673 precision = FLOAT_DIGITS; in xbuf_format_converter()
674 else if (precision == 0) in xbuf_format_converter()
[all …]
H A Dsnprintf.c384 if (precision >= NDIG - 1) { in php_conv_fp()
385 precision = NDIG - 2; in php_conv_fp()
408 if (precision > 0) { in php_conv_fp()
432 if (precision > 0 || add_dp) { in php_conv_fp()
599 int precision = 0; in format_converter() local
700 if (precision < 0) in format_converter()
701 precision = 0; in format_converter()
703 precision = 0; in format_converter()
802 s_len = precision; in format_converter()
977 s_len = precision; in format_converter()
[all …]
/PHP-5.5/ext/standard/
H A Dformatted_print.c213 int alignment, int precision, in php_sprintf_appenddouble() argument
232 precision = FLOAT_PRECISION; in php_sprintf_appenddouble()
233 } else if (precision > MAX_FLOAT_PRECISION) { in php_sprintf_appenddouble()
235 precision = MAX_FLOAT_PRECISION; in php_sprintf_appenddouble()
280 if (precision == 0) in php_sprintf_appenddouble()
281 precision = 1; in php_sprintf_appenddouble()
536 precision = 0; in php_formatted_print()
539 precision = 0; in php_formatted_print()
543 width = precision = 0; in php_formatted_print()
582 width, precision, padding, in php_formatted_print()
[all …]
/PHP-5.5/ext/standard/tests/general_functions/
H A D008.phpt4 precision=12
8 var_dump(array(ini_get('precision'),.012,-.012,.12,-.12,1.2,-1.2,12.,-12.,0.000123,.0000123,1234567…
/PHP-5.5/ext/bcmath/libbcmath/
H A DREADME1 This is bcmath, a library of arbitrary precision math routines.
3 the arbitrary precision calculations for GNU bc and GNU dc.
/PHP-5.5/ext/standard/tests/strings/
H A Dsprintf_variation52.phpt22 echo"\n-- Testing for precision value more than maximum --\n";
48 -- Testing for precision value more than maximum --
50 Notice: sprintf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %…
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug31442.phpt4 precision=14
H A Dbug23298.phpt7 ini_set('precision', 12);
/PHP-5.5/ext/bcmath/
H A Dconfig.m45 PHP_ARG_ENABLE(bcmath, whether to enable bc style precision math functions,
6 [ --enable-bcmath Enable bc style precision math functions])
/PHP-5.5/Zend/tests/
H A Dfloat_prec_001.phpt2 Double precision is used for floating point calculations
H A Dzend_strtod.phpt4 precision=14
H A Dadd_005.phpt4 precision=14
H A Dbug45877.phpt4 precision=16
/PHP-5.5/ext/standard/tests/
H A Dphp_ini_loaded_file.phpt8 precision=12
/PHP-5.5/ext/standard/tests/array/
H A Dbug54459.phpt4 precision=14
/PHP-5.5/ext/json/tests/
H A Dbug41567.phpt4 precision=14
/PHP-5.5/ext/filter/tests/
H A D044.phpt6 precision=14

Completed in 53 milliseconds

12345678910>>...16