scale 212 bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 219 bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 227 bcmath/bcmath.c bc_add (first, second, &result, scale); scale 229 bcmath/bcmath.c if (result->n_scale > scale) { scale 230 bcmath/bcmath.c result->n_scale = scale; scale 251 bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 258 bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 266 bcmath/bcmath.c bc_sub (first, second, &result, scale); scale 268 bcmath/bcmath.c if (result->n_scale > scale) { scale 269 bcmath/bcmath.c result->n_scale = scale; scale 290 bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 297 bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 305 bcmath/bcmath.c bc_multiply (first, second, &result, scale TSRMLS_CC); scale 307 bcmath/bcmath.c if (result->n_scale > scale) { scale 308 bcmath/bcmath.c result->n_scale = scale; scale 329 bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 336 bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 345 bcmath/bcmath.c switch (bc_divide(first, second, &result, scale TSRMLS_CC)) { scale 347 bcmath/bcmath.c if (result->n_scale > scale) { scale 348 bcmath/bcmath.c result->n_scale = scale; scale 409 bcmath/bcmath.c long scale = BCG(bc_precision); scale 412 bcmath/bcmath.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|l", &left, &left_len, &right, &right_len, &modulous, &modulous_len, &scale) == FAILURE) { scale 424 bcmath/bcmath.c scale_int = (int) ((int)scale < 0) ? 0 : scale; scale 427 bcmath/bcmath.c if (result->n_scale > scale) { scale 428 bcmath/bcmath.c result->n_scale = scale; scale 453 bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 460 bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 468 bcmath/bcmath.c bc_raise (first, second, &result, scale TSRMLS_CC); scale 470 bcmath/bcmath.c if (result->n_scale > scale) { scale 471 bcmath/bcmath.c result->n_scale = scale; scale 492 bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 499 bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 505 bcmath/bcmath.c if (bc_sqrt (&result, scale TSRMLS_CC) != 0) { scale 506 bcmath/bcmath.c if (result->n_scale > scale) { scale 507 bcmath/bcmath.c result->n_scale = scale; scale 529 bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 536 bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 542 bcmath/bcmath.c bc_str2num(&first, left, scale TSRMLS_CC); scale 543 bcmath/bcmath.c bc_str2num(&second, right, scale TSRMLS_CC); scale 159 bcmath/libbcmath/src/bcmath.h #define bc_new_num(length, scale) _bc_new_num_ex((length), (scale), 0) scale 108 bcmath/libbcmath/src/div.c qval = bc_new_num (n1->n_len, scale); scale 110 bcmath/libbcmath/src/div.c memset (&qval->n_value[n1->n_len],0,scale); scale 112 bcmath/libbcmath/src/div.c n1->n_len + MIN(n1->n_scale,scale)); scale 126 bcmath/libbcmath/src/div.c if (scale1 < scale) scale 127 bcmath/libbcmath/src/div.c extra = scale - scale1; scale 148 bcmath/libbcmath/src/div.c if (len2 > len1+scale) scale 150 bcmath/libbcmath/src/div.c qdigits = scale+1; scale 157 bcmath/libbcmath/src/div.c qdigits = scale+1; /* One for the zero integer part. */ scale 159 bcmath/libbcmath/src/div.c qdigits = len1-len2+scale+1; scale 163 bcmath/libbcmath/src/div.c qval = bc_new_num (qdigits-scale,scale); scale 189 bcmath/libbcmath/src/div.c while (qdig <= len1+scale-len2) scale 58 bcmath/libbcmath/src/divmod.c rscale = MAX (num1->n_scale, num2->n_scale+scale); scale 62 bcmath/libbcmath/src/divmod.c bc_divide (num1, num2, &temp, scale TSRMLS_CC); scale 85 bcmath/libbcmath/src/divmod.c return bc_divmod (num1, num2, NULL, result, scale TSRMLS_CC); scale 54 bcmath/libbcmath/src/init.c temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent); scale 66 bcmath/libbcmath/src/init.c temp->n_scale = scale; scale 69 bcmath/libbcmath/src/init.c temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent); scale 72 bcmath/libbcmath/src/init.c memset (temp->n_ptr, 0, length+scale); scale 54 bcmath/libbcmath/src/nearzero.c if (scale > num->n_scale) scale 55 bcmath/libbcmath/src/nearzero.c scale = num->n_scale; scale 58 bcmath/libbcmath/src/nearzero.c count = num->n_len + scale; scale 76 bcmath/libbcmath/src/raise.c rscale = scale; scale 81 bcmath/libbcmath/src/raise.c rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); scale 77 bcmath/libbcmath/src/raisemod.c rscale = MAX(scale, base->n_scale); scale 84 bcmath/libbcmath/src/raisemod.c (void) bc_modulo (temp, mod, &temp, scale TSRMLS_CC); scale 88 bcmath/libbcmath/src/raisemod.c (void) bc_modulo (power, mod, &power, scale TSRMLS_CC); scale 73 bcmath/libbcmath/src/recmul.c temp->n_scale = scale; scale 291 bcmath/libbcmath/src/recmul.c prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale))); scale 73 bcmath/libbcmath/src/sqrt.c rscale = MAX (scale, (*num)->n_scale); scale 70 bcmath/libbcmath/src/str2num.c strscale = MIN(strscale, scale); scale 140 gd/libgd/gd_webp.c const float scale = MAX_VP8QP - MIN_VP8QP; scale 142 gd/libgd/gd_webp.c scale * (MAX_QUALITY - quality) / (MAX_QUALITY - MIN_QUALITY) + MIN_VP8QP; scale 12 gd/libgd/mathmake.c printf ("#define costScale %d\n", scale); scale 16 gd/libgd/mathmake.c basis[i] = cos ((double) i * .0174532925) * scale; scale 36 gd/libgd/mathmake.c printf ("#define sintScale %d\n", scale); scale 81 gd/libgd/testac.c im_out = gdImageCreateTrueColor ((int) (gdImageSX (im_in) * scale), scale 82 gd/libgd/testac.c (int) (gdImageSY (im_in) * scale)); scale 95 gd/libgd/testac.c gdImageFill (im_out, (int) (gdImageSX (im_in) * scale / 2), scale 96 gd/libgd/testac.c (int) (gdImageSY (im_in) * scale / 2), scale 107 gd/libgd/testac.c (int) (gdImageSX (im_in) * scale), (int) (gdImageSY (im_in) * scale), scale 1338 interbase/ibase_query.c if (scale == 0) { scale 1342 interbase/ibase_query.c ISC_INT64 n = *(ISC_INT64 *) data, f = scales[-scale]; scale 1345 interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, n % f); scale 1347 interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, -n % f); scale 1349 interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "-0.%0*" LL_MASK "d", -scale, -n % f); scale 1358 interbase/ibase_query.c if (scale == 0) { scale 1361 interbase/ibase_query.c long f = (long) scales[-scale]; scale 1364 interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, n % f); scale 1366 interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, -n % f); scale 1368 interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "-0.%0*ld", -scale, -n % f); scale 1179 oci8/oci8_interface.c RETURN_LONG(column->scale); scale 562 oci8/oci8_statement.c PHP_OCI_CALL_RETURN(statement->errcode, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->scale, (dvoid *)0, OCI_ATTR_SCALE, statement->err)); scale 248 oci8/php_oci8_int.h sb1 scale; /* column scale */ scale 1236 odbc/php_odbc.c SQLSMALLINT sqltype, ctype, scale; scale 1296 odbc/php_odbc.c rc = SQLDescribeParam(result->stmt, (SQLUSMALLINT)i, &sqltype, &precision, &scale, &nullable); scale 1358 odbc/php_odbc.c ctype, sqltype, precision, scale, scale 1370 odbc/php_odbc.c ctype, sqltype, precision, scale, scale 281 pdo_dblib/dblib_stmt.c add_assoc_long(return_value, "scale", (int) dbtypeinfo->scale ); scale 503 pdo_oci/oci_statement.c ub2 dtype, data_size, scale, precis; scale 521 pdo_oci/oci_statement.c (param, OCI_DTYPE_PARAM, &scale, 0, OCI_ATTR_SCALE, S->err)); scale 531 pdo_oci/oci_statement.c col->precision = scale; scale 281 pdo_odbc/odbc_stmt.c SWORD sqltype = 0, ctype = 0, scale = 0, nullable = 0; scale 310 pdo_odbc/odbc_stmt.c rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nullable); scale 318 pdo_odbc/odbc_stmt.c scale = 5; scale 368 pdo_odbc/odbc_stmt.c P->paramtype, ctype, sqltype, precision, scale, scale 20899 sqlite3/libsqlite/sqlite3.c double scale = 1.0; scale 20902 sqlite3/libsqlite/sqlite3.c while( e%308 ) { scale *= 1.0e+1; e -= 1; } scale 20904 sqlite3/libsqlite/sqlite3.c result = s / scale; scale 20907 sqlite3/libsqlite/sqlite3.c result = s * scale; scale 20913 sqlite3/libsqlite/sqlite3.c while( e%22 ) { scale *= 1.0e+1; e -= 1; } scale 20914 sqlite3/libsqlite/sqlite3.c while( e>0 ) { scale *= 1.0e+22; e -= 22; } scale 20916 sqlite3/libsqlite/sqlite3.c result = s / scale; scale 20918 sqlite3/libsqlite/sqlite3.c result = s * scale; scale 1377 sybase_ct/php_sybase_ct.c result->numerics[i] = (result->datafmt[i].scale == 0) ? 3 : 2;