Searched defs:precision (Results 1 - 12 of 12) sorted by relevance

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dprintf.c39 ** * The %c field now accepts a precision. The character output
40 ** is repeated by the number of times the precision specifies.
200 int precision; /* Precision of the current field */ local
280 /* Get the precision */
282 precision = 0;
285 precision = va_arg(ap,int);
286 if( precision<0 ) precision = -precision;
290 precision
[all...]
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c18828 ** * The %c field now accepts a precision. The character output
18829 ** is repeated by the number of times the precision specifies.
18892 #define FLAG_STRING 4 /* Allow infinity precision */
19024 int precision; /* Precision of the current field */ local
19101 /* Get the precision */
19103 precision = 0;
19106 precision = va_arg(ap,int);
19107 if( precision<0 ) precision = -precision;
[all...]
/PHP_5_3/ext/interbase/
H A Dibase_query.c1940 unsigned short precision = 0; local
1945 precision = 4;
1948 precision = 9;
1951 precision = 18;
1954 len = slprintf(buf, 16, "NUMERIC(%d,%d)", precision, -var->sqlscale);
/PHP_5_3/ext/oci8/
H A Dphp_oci8_int.h249 sb2 precision; /* column precision */ member in struct:__anon117
/PHP_5_3/ext/odbc/
H A Dphp_odbc.c1238 SQLULEN precision; local
1296 rc = SQLDescribeParam(result->stmt, (SQLUSMALLINT)i, &sqltype, &precision, &scale, &nullable);
1364 ctype, sqltype, precision, scale,
1369 precision = params[i-1].vallen;
1376 ctype, sqltype, precision, scale,
2846 Get the length (precision) of a column */
/PHP_5_3/ext/pdo/
H A Dphp_pdo_driver.h373 * precision => precision of the column
520 unsigned long precision; member in struct:pdo_column_data
/PHP_5_3/ext/pdo_odbc/
H A Dodbc_stmt.c282 UDWORD precision = 0; local
310 rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nullable);
317 precision = 4000;
322 precision = param->max_value_len;
354 P->len = param->max_value_len > 0 ? param->max_value_len : precision;
368 P->paramtype, ctype, sqltype, precision, scale,
/PHP_5_3/ext/standard/
H A Dformatted_print.c211 int alignment, int precision,
226 precision = FLOAT_PRECISION;
227 } else if (precision > MAX_FLOAT_PRECISION) {
228 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Requested precision of %d digits was truncated to PHP maximum of %d digits", precision, MAX_FLOAT_PRECISION);
229 precision = MAX_FLOAT_PRECISION;
254 s = php_conv_fp((fmt == 'f')?'F':fmt, number, 0, precision,
270 if (precision == 0)
271 precision = 1;
278 s = php_gcvt(number, precision, LCONV_DECIMAL_POIN
208 php_sprintf_appenddouble(char **buffer, int *pos, int *size, double number, int width, char padding, int alignment, int precision, int adjust, char fmt, int always_sign TSRMLS_DC) argument
379 int alignment, currarg, adjusting, argnum, width, precision; local
[all...]
H A Dmath.c152 /* If the decimal precision guaranteed by FP arithmetic is higher than
154 is returned, pre-round the result to the precision */
176 /* This value is beyond our precision, so rounding it is pointless */
341 /* {{{ proto float round(float number [, int precision [, int mode]])
342 Returns the number rounded to specified precision */
347 long precision = 0; local
351 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z|ll", &value, &precision, &mode) == FAILURE) {
356 places = (int) precision;
/PHP_5_3/main/
H A Dsnprintf.c373 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, int *len)
379 if (precision >= NDIG - 1) {
380 precision = NDIG - 2;
384 p_orig = p = php_fcvt(num, precision, &decimal_point, is_negative);
386 p_orig = p = php_ecvt(num, precision + 1, &decimal_point, is_negative);
401 if (num != 0 || precision > 0) {
403 if (precision > 0) {
421 if (precision > 0 || add_dp) {
427 if (precision > 0 || add_dp) {
547 * This macro does zero padding so that the precision
372 php_conv_fp(register char format, register double num, boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, int *len) argument
594 int precision = 0; local
[all...]
H A Dspprintf.c172 * This macro does zero padding so that the precision
177 #define FIX_PRECISION(adjust, precision, s, s_len) do { \
179 while (s_len < precision) { \
205 int precision = 0; local
250 * Try to avoid checking for flags, width or precision
289 * Check if a precision was specified
295 STR_TO_DEC(fmt, precision);
297 precision = va_arg(ap, int);
299 if (precision < 0)
300 precision
[all...]
/PHP_5_3/Zend/
H A Dzend_globals.h204 long precision; member in struct:_zend_executor_globals

Completed in 134 milliseconds