Searched defs:scale (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dmathmake.c4 #define scale 1024 macro
12 printf ("#define costScale %d\n", scale);
16 basis[i] = cos ((double) i * .0174532925) * scale;
36 printf ("#define sintScale %d\n", scale);
H A Dtestac.c11 double scale,
73 double scale,
81 im_out = gdImageCreateTrueColor ((int) (gdImageSX (im_in) * scale),
82 (int) (gdImageSY (im_in) * scale));
95 gdImageFill (im_out, (int) (gdImageSX (im_in) * scale / 2),
96 (int) (gdImageSY (im_in) * scale / 2),
107 (int) (gdImageSX (im_in) * scale), (int) (gdImageSY (im_in) * scale),
71 testDrawing( gdImagePtr im_in, double scale, int blending, int palette, char *filename) argument
H A Dgd_webp.c151 const float scale = MAX_VP8QP - MIN_VP8QP; local
153 scale * (MAX_QUALITY - quality) / (MAX_QUALITY - MIN_QUALITY) + MIN_VP8QP;
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c15823 ** If the library is compiled to omit the full-scale date and time
21209 LONGDOUBLE_TYPE scale = 1.0; local
21210 while( realvalue>=1e100*scale && exp<=350 ){ scale *= 1e100;exp+=100;}
21211 while( realvalue>=1e64*scale && exp<=350 ){ scale *= 1e64; exp+=64; }
21212 while( realvalue>=1e8*scale && exp<=350 ){ scale *= 1e8; exp+=8; }
21213 while( realvalue>=10.0*scale && exp<=350 ){ scale *
23204 LONGDOUBLE_TYPE scale = 1.0; local
[all...]
/PHP_TRUNK/ext/bcmath/
H A Dbcmath.c42 ZEND_ARG_INFO(0, scale)
48 ZEND_ARG_INFO(0, scale)
54 ZEND_ARG_INFO(0, scale)
60 ZEND_ARG_INFO(0, scale)
72 ZEND_ARG_INFO(0, scale)
78 ZEND_ARG_INFO(0, scale)
83 ZEND_ARG_INFO(0, scale)
89 ZEND_ARG_INFO(0, scale)
93 ZEND_ARG_INFO(0, scale)
138 STD_PHP_INI_ENTRY("bcmath.scale", "
218 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); local
255 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); local
292 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); local
329 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); local
405 zend_long scale = BCG(bc_precision); local
447 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); local
484 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); local
519 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); local
[all...]
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Ddiv.c88 bc_divide (bc_num n1, bc_num n2, bc_num *quot, int scale) argument
108 qval = bc_new_num (n1->n_len, scale);
110 memset (&qval->n_value[n1->n_len],0,scale);
112 n1->n_len + MIN(n1->n_scale,scale));
118 /* Set up the divide. Move the decimal point on n1 by n2's scale.
126 if (scale1 < scale)
127 extra = scale - scale1;
148 if (len2 > len1+scale)
150 qdigits = scale+1;
157 qdigits = scale
[all...]
H A Ddivmod.c48 bc_divmod (bc_num num1, bc_num num2, bc_num *quot, bc_num *rem, int scale) argument
57 /* Calculate final scale. */
58 rscale = MAX (num1->n_scale, num2->n_scale+scale);
62 bc_divide (num1, num2, &temp, scale);
83 bc_modulo (bc_num num1, bc_num num2, bc_num *result, int scale) argument
85 return bc_divmod (num1, num2, NULL, result, scale);
H A Draise.c47 bc_raise (bc_num num1, bc_num num2, bc_num *result, int scale) argument
56 /* Check the exponent for scale digits and convert to a long. */
58 bc_rt_warn ("non-zero scale in exponent");
76 rscale = scale;
81 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale));
H A Draisemod.c46 bc_raisemod (bc_num base, bc_num expo, bc_num mod, bc_num *result, int scale) argument
61 /* Check the base for scale digits. */
63 bc_rt_warn ("non-zero scale in base");
65 /* Check the exponent for scale digits. */
68 bc_rt_warn ("non-zero scale in exponent");
72 /* Check the modulus for scale digits. */
74 bc_rt_warn ("non-zero scale in modulus");
77 rscale = MAX(scale, base->n_scale);
84 (void) bc_modulo (temp, mod, &temp, scale);
88 (void) bc_modulo (power, mod, &power, scale);
[all...]
H A Drecmul.c54 new_sub_num (length, scale, value)
55 int length, scale;
73 temp->n_scale = scale;
273 /* The multiply routine. N2 times N1 is put int PROD with the scale of
274 the result being MIN(N2 scale+N1 scale, MAX (SCALE, N2 scale, N1 scale)).
278 bc_multiply (bc_num n1, bc_num n2, bc_num *prod, int scale) argument
288 prod_scale = MIN(full_scale,MAX(scale,MA
[all...]
H A Dsqrt.c45 bc_sqrt (bc_num *num, int scale) argument
73 rscale = MAX (scale, (*num)->n_scale);
H A Dstr2num.c44 bc_str2num (bc_num *num, char *str, int scale) argument
70 strscale = MIN(strscale, scale);
/PHP_TRUNK/ext/interbase/
H A Dibase_query.c1294 int scale, int flag)
1336 if (scale == 0) {
1340 ISC_INT64 n = *(ISC_INT64 *) data, f = scales[-scale];
1343 l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, n % f);
1345 l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, -n % f);
1347 l = slprintf(string_data, sizeof(string_data), "-0.%0*" LL_MASK "d", -scale, -n % f);
1356 if (scale == 0) {
1359 long f = (long) scales[-scale];
1362 l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, n % f);
1364 l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale,
1293 _php_ibase_var_zval(zval *val, void *data, int type, int len, int scale, int flag) argument
[all...]
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h282 sb1 scale; /* column scale */ member in struct:__anon147
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1238 SQLSMALLINT sqltype, ctype, scale; local
1298 rc = SQLDescribeParam(result->stmt, (SQLUSMALLINT)i, &sqltype, &precision, &scale, &nullable);
1360 ctype, sqltype, precision, scale,
1372 ctype, sqltype, precision, scale,
2854 Get the scale of a column */
/PHP_TRUNK/ext/pdo_oci/
H A Doci_statement.c506 ub2 dtype, data_size, scale, precis; local
522 /* scale ? */
524 (param, OCI_DTYPE_PARAM, &scale, 0, OCI_ATTR_SCALE, S->err));
534 col->precision = scale;
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c287 SWORD sqltype = 0, ctype = 0, scale = 0, nullable = 0; local
323 rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nullable);
331 scale = 5;
381 P->paramtype, ctype, sqltype, precision, scale,

Completed in 170 milliseconds