scale 497 Zend/zend_strtod.c BCinfo { int dp0, dp1, dplen, dsign, e0, inexact, nd, nd0, rounding, scale, uflchk; }; scale 2313 Zend/zend_strtod.c if (!bc->scale || (i = 2*P + 1 - ((word0(x) & Exp_mask) >> Exp_shift)) <= 0) scale 2365 Zend/zend_strtod.c p2 -= bc->scale; scale 2377 Zend/zend_strtod.c word0(rv) = (1 + bc->scale) << Exp_shift; scale 2507 Zend/zend_strtod.c if ((j = ((word0(rv) & Exp_mask) >> Exp_shift) - bc->scale) <= 0) { scale 2853 Zend/zend_strtod.c bc.scale = 0; scale 2942 Zend/zend_strtod.c bc.scale = 2*P; scale 2946 Zend/zend_strtod.c if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask) scale 3052 Zend/zend_strtod.c j = bbe - bc.scale; scale 3084 Zend/zend_strtod.c bd2 += bc.scale; scale 3154 Zend/zend_strtod.c if (!bc.scale || y > 2*P*Exp_msk1) scale 3166 Zend/zend_strtod.c if (bc.scale && (y = word0(&rv) & Exp_mask) scale 3197 Zend/zend_strtod.c if (bc.scale && (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) scale 3262 Zend/zend_strtod.c (bc.scale && (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) scale 3291 Zend/zend_strtod.c if (L <= (bc.scale ? (2*P+1)*Exp_msk1 : Exp_msk1)) scale 3306 Zend/zend_strtod.c if (bc.scale) { scale 3444 Zend/zend_strtod.c if (bc.scale && y <= 2*P*Exp_msk1) { scale 3524 Zend/zend_strtod.c if (!bc.scale) scale 3575 Zend/zend_strtod.c if (bc.scale) { scale 42 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 48 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 54 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 60 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 72 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 78 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 83 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 89 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 93 ext/bcmath/bcmath.c ZEND_ARG_INFO(0, scale) scale 218 ext/bcmath/bcmath.c int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 225 ext/bcmath/bcmath.c scale = (int) (scale_param < 0 ? 0 : scale_param); scale 233 ext/bcmath/bcmath.c bc_add (first, second, &result, scale); scale 235 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 236 ext/bcmath/bcmath.c result->n_scale = scale; scale 255 ext/bcmath/bcmath.c int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 262 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0 ? 0 : scale_param); scale 270 ext/bcmath/bcmath.c bc_sub (first, second, &result, scale); scale 272 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 273 ext/bcmath/bcmath.c result->n_scale = scale; scale 292 ext/bcmath/bcmath.c int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 299 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0 ? 0 : scale_param); scale 307 ext/bcmath/bcmath.c bc_multiply (first, second, &result, scale); scale 309 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 310 ext/bcmath/bcmath.c result->n_scale = scale; scale 329 ext/bcmath/bcmath.c int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 336 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0 ? 0 : scale_param); scale 345 ext/bcmath/bcmath.c switch (bc_divide(first, second, &result, scale)) { scale 347 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 348 ext/bcmath/bcmath.c result->n_scale = scale; scale 405 ext/bcmath/bcmath.c zend_long scale = BCG(bc_precision); scale 408 ext/bcmath/bcmath.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|l", &left, &left_len, &right, &right_len, &modulous, &modulous_len, &scale) == FAILURE) { scale 420 ext/bcmath/bcmath.c scale_int = (int) ((int)scale < 0 ? 0 : scale); scale 423 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 424 ext/bcmath/bcmath.c result->n_scale = (int)scale; scale 447 ext/bcmath/bcmath.c int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 454 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0 ? 0 : scale_param); scale 462 ext/bcmath/bcmath.c bc_raise (first, second, &result, scale); scale 464 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 465 ext/bcmath/bcmath.c result->n_scale = scale; scale 484 ext/bcmath/bcmath.c int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 491 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0 ? 0 : scale_param); scale 497 ext/bcmath/bcmath.c if (bc_sqrt (&result, scale) != 0) { scale 498 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 499 ext/bcmath/bcmath.c result->n_scale = scale; scale 519 ext/bcmath/bcmath.c int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 526 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0 ? 0 : scale_param); scale 532 ext/bcmath/bcmath.c bc_str2num(&first, left, scale); scale 533 ext/bcmath/bcmath.c bc_str2num(&second, right, scale); scale 104 ext/bcmath/libbcmath/src/bcmath.h _PROTOTYPE(bc_num _bc_new_num_ex, (int length, int scale, int persistent)); scale 112 ext/bcmath/libbcmath/src/bcmath.h _PROTOTYPE(void bc_str2num, (bc_num *num, char *str, int scale)); scale 124 ext/bcmath/libbcmath/src/bcmath.h _PROTOTYPE(char bc_is_near_zero, (bc_num num, int scale)); scale 132 ext/bcmath/libbcmath/src/bcmath.h _PROTOTYPE(void bc_multiply, (bc_num n1, bc_num n2, bc_num *prod, int scale)); scale 134 ext/bcmath/libbcmath/src/bcmath.h _PROTOTYPE(int bc_divide, (bc_num n1, bc_num n2, bc_num *quot, int scale)); scale 137 ext/bcmath/libbcmath/src/bcmath.h int scale)); scale 140 ext/bcmath/libbcmath/src/bcmath.h bc_num *rem, int scale)); scale 143 ext/bcmath/libbcmath/src/bcmath.h bc_num *result, int scale)); scale 146 ext/bcmath/libbcmath/src/bcmath.h int scale)); scale 148 ext/bcmath/libbcmath/src/bcmath.h _PROTOTYPE(int bc_sqrt, (bc_num *num, int scale)); scale 159 ext/bcmath/libbcmath/src/bcmath.h #define bc_new_num(length, scale) _bc_new_num_ex((length), (scale), 0) scale 88 ext/bcmath/libbcmath/src/div.c bc_divide (bc_num n1, bc_num n2, bc_num *quot, int scale) scale 108 ext/bcmath/libbcmath/src/div.c qval = bc_new_num (n1->n_len, scale); scale 110 ext/bcmath/libbcmath/src/div.c memset (&qval->n_value[n1->n_len],0,scale); scale 112 ext/bcmath/libbcmath/src/div.c n1->n_len + MIN(n1->n_scale,scale)); scale 126 ext/bcmath/libbcmath/src/div.c if (scale1 < scale) scale 127 ext/bcmath/libbcmath/src/div.c extra = scale - scale1; scale 148 ext/bcmath/libbcmath/src/div.c if (len2 > len1+scale) scale 150 ext/bcmath/libbcmath/src/div.c qdigits = scale+1; scale 157 ext/bcmath/libbcmath/src/div.c qdigits = scale+1; /* One for the zero integer part. */ scale 159 ext/bcmath/libbcmath/src/div.c qdigits = len1-len2+scale+1; scale 163 ext/bcmath/libbcmath/src/div.c qval = bc_new_num (qdigits-scale,scale); scale 189 ext/bcmath/libbcmath/src/div.c while (qdig <= len1+scale-len2) scale 48 ext/bcmath/libbcmath/src/divmod.c bc_divmod (bc_num num1, bc_num num2, bc_num *quot, bc_num *rem, int scale) scale 58 ext/bcmath/libbcmath/src/divmod.c rscale = MAX (num1->n_scale, num2->n_scale+scale); scale 62 ext/bcmath/libbcmath/src/divmod.c bc_divide (num1, num2, &temp, scale); scale 83 ext/bcmath/libbcmath/src/divmod.c bc_modulo (bc_num num1, bc_num num2, bc_num *result, int scale) scale 85 ext/bcmath/libbcmath/src/divmod.c return bc_divmod (num1, num2, NULL, result, scale); scale 48 ext/bcmath/libbcmath/src/init.c _bc_new_num_ex (length, scale, persistent) scale 49 ext/bcmath/libbcmath/src/init.c int length, scale, persistent; scale 54 ext/bcmath/libbcmath/src/init.c temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent); scale 66 ext/bcmath/libbcmath/src/init.c temp->n_scale = scale; scale 69 ext/bcmath/libbcmath/src/init.c temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent); scale 72 ext/bcmath/libbcmath/src/init.c memset (temp->n_ptr, 0, length+scale); scale 46 ext/bcmath/libbcmath/src/nearzero.c bc_is_near_zero (num, scale) scale 48 ext/bcmath/libbcmath/src/nearzero.c int scale; scale 54 ext/bcmath/libbcmath/src/nearzero.c if (scale > num->n_scale) scale 55 ext/bcmath/libbcmath/src/nearzero.c scale = num->n_scale; scale 58 ext/bcmath/libbcmath/src/nearzero.c count = num->n_len + scale; scale 47 ext/bcmath/libbcmath/src/raise.c bc_raise (bc_num num1, bc_num num2, bc_num *result, int scale) scale 76 ext/bcmath/libbcmath/src/raise.c rscale = scale; scale 81 ext/bcmath/libbcmath/src/raise.c rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); scale 46 ext/bcmath/libbcmath/src/raisemod.c bc_raisemod (bc_num base, bc_num expo, bc_num mod, bc_num *result, int scale) scale 77 ext/bcmath/libbcmath/src/raisemod.c rscale = MAX(scale, base->n_scale); scale 84 ext/bcmath/libbcmath/src/raisemod.c (void) bc_modulo (temp, mod, &temp, scale); scale 88 ext/bcmath/libbcmath/src/raisemod.c (void) bc_modulo (power, mod, &power, scale); scale 54 ext/bcmath/libbcmath/src/recmul.c new_sub_num (length, scale, value) scale 55 ext/bcmath/libbcmath/src/recmul.c int length, scale; scale 73 ext/bcmath/libbcmath/src/recmul.c temp->n_scale = scale; scale 278 ext/bcmath/libbcmath/src/recmul.c bc_multiply (bc_num n1, bc_num n2, bc_num *prod, int scale) scale 288 ext/bcmath/libbcmath/src/recmul.c prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale))); scale 45 ext/bcmath/libbcmath/src/sqrt.c bc_sqrt (bc_num *num, int scale) scale 73 ext/bcmath/libbcmath/src/sqrt.c rscale = MAX (scale, (*num)->n_scale); scale 44 ext/bcmath/libbcmath/src/str2num.c bc_str2num (bc_num *num, char *str, int scale) scale 70 ext/bcmath/libbcmath/src/str2num.c strscale = MIN(strscale, scale); scale 12 ext/gd/libgd/mathmake.c printf ("#define costScale %d\n", scale); scale 16 ext/gd/libgd/mathmake.c basis[i] = cos ((double) i * .0174532925) * scale; scale 36 ext/gd/libgd/mathmake.c printf ("#define sintScale %d\n", scale); scale 11 ext/gd/libgd/testac.c double scale, scale 73 ext/gd/libgd/testac.c double scale, scale 81 ext/gd/libgd/testac.c im_out = gdImageCreateTrueColor ((int) (gdImageSX (im_in) * scale), scale 82 ext/gd/libgd/testac.c (int) (gdImageSY (im_in) * scale)); scale 95 ext/gd/libgd/testac.c gdImageFill (im_out, (int) (gdImageSX (im_in) * scale / 2), scale 96 ext/gd/libgd/testac.c (int) (gdImageSY (im_in) * scale / 2), scale 107 ext/gd/libgd/testac.c (int) (gdImageSX (im_in) * scale), (int) (gdImageSY (im_in) * scale), scale 1296 ext/interbase/ibase_query.c int scale, int flag) scale 1338 ext/interbase/ibase_query.c if (scale == 0) { scale 1342 ext/interbase/ibase_query.c ISC_INT64 n = *(ISC_INT64 *) data, f = scales[-scale]; scale 1345 ext/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 ext/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 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "-0.%0*" LL_MASK "d", -scale, -n % f); scale 1358 ext/interbase/ibase_query.c if (scale == 0) { scale 1361 ext/interbase/ibase_query.c zend_long f = (zend_long) scales[-scale]; scale 1364 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), ZEND_LONG_FMT ".%0*" ZEND_LONG_FMT_SPEC, n / f, -scale, n % f); scale 1366 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), ZEND_LONG_FMT ".%0*" ZEND_LONG_FMT_SPEC, n / f, -scale, -n % f); scale 1368 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "-0.%0*" ZEND_LONG_FMT_SPEC, -scale, -n % f); scale 1200 ext/oci8/oci8_interface.c RETURN_LONG(column->scale); scale 651 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->scale, (dvoid *)0, OCI_ATTR_SCALE, statement->err)); scale 289 ext/oci8/php_oci8_int.h sb1 scale; /* column scale */ scale 1267 ext/odbc/php_odbc.c &result->param_info[i].scale, &result->param_info[i].nullable); scale 1407 ext/odbc/php_odbc.c ctype, result->param_info[i-1].sqltype, result->param_info[i-1].precision, result->param_info[i-1].scale, scale 1419 ext/odbc/php_odbc.c ctype, result->param_info[i-1].sqltype, result->param_info[i-1].precision, result->param_info[i-1].scale, scale 238 ext/odbc/php_odbc_includes.h SQLSMALLINT scale; scale 331 ext/pdo_dblib/dblib_stmt.c add_assoc_long(return_value, "scale", (int) dbtypeinfo->scale ); scale 530 ext/pdo_oci/oci_statement.c ub2 dtype, data_size, scale, precis; scale 548 ext/pdo_oci/oci_statement.c (param, OCI_DTYPE_PARAM, &scale, 0, OCI_ATTR_SCALE, S->err)); scale 558 ext/pdo_oci/oci_statement.c col->precision = scale; scale 287 ext/pdo_odbc/odbc_stmt.c SWORD sqltype = 0, ctype = 0, scale = 0, nullable = 0; scale 323 ext/pdo_odbc/odbc_stmt.c rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nullable); scale 331 ext/pdo_odbc/odbc_stmt.c scale = 5; scale 381 ext/pdo_odbc/odbc_stmt.c P->paramtype, ctype, sqltype, precision, scale, scale 21814 ext/sqlite3/libsqlite/sqlite3.c LONGDOUBLE_TYPE scale = 1.0; scale 21815 ext/sqlite3/libsqlite/sqlite3.c while( realvalue>=1e100*scale && exp<=350 ){ scale *= 1e100;exp+=100;} scale 21816 ext/sqlite3/libsqlite/sqlite3.c while( realvalue>=1e64*scale && exp<=350 ){ scale *= 1e64; exp+=64; } scale 21817 ext/sqlite3/libsqlite/sqlite3.c while( realvalue>=1e8*scale && exp<=350 ){ scale *= 1e8; exp+=8; } scale 21818 ext/sqlite3/libsqlite/sqlite3.c while( realvalue>=10.0*scale && exp<=350 ){ scale *= 10.0; exp++; } scale 21819 ext/sqlite3/libsqlite/sqlite3.c realvalue /= scale; scale 23849 ext/sqlite3/libsqlite/sqlite3.c LONGDOUBLE_TYPE scale = 1.0; scale 23852 ext/sqlite3/libsqlite/sqlite3.c while( e%308 ) { scale *= 1.0e+1; e -= 1; } scale 23854 ext/sqlite3/libsqlite/sqlite3.c result = s / scale; scale 23857 ext/sqlite3/libsqlite/sqlite3.c result = s * scale; scale 23869 ext/sqlite3/libsqlite/sqlite3.c while( e%22 ) { scale *= 1.0e+1; e -= 1; } scale 23870 ext/sqlite3/libsqlite/sqlite3.c while( e>0 ) { scale *= 1.0e+22; e -= 22; } scale 23872 ext/sqlite3/libsqlite/sqlite3.c result = s / scale; scale 23874 ext/sqlite3/libsqlite/sqlite3.c result = s * scale;