Lines Matching refs:scale

162 	int scale;  in PHP_FUNCTION()  local
172 scale = BCG(bc_precision); in PHP_FUNCTION()
177 scale = (int) scale_param; in PHP_FUNCTION()
194 bc_add (first, second, &result, scale); in PHP_FUNCTION()
196 RETVAL_STR(bc_num2str_ex(result, scale)); in PHP_FUNCTION()
213 int scale; in PHP_FUNCTION() local
223 scale = BCG(bc_precision); in PHP_FUNCTION()
228 scale = (int) scale_param; in PHP_FUNCTION()
245 bc_sub (first, second, &result, scale); in PHP_FUNCTION()
247 RETVAL_STR(bc_num2str_ex(result, scale)); in PHP_FUNCTION()
264 int scale; in PHP_FUNCTION() local
274 scale = BCG(bc_precision); in PHP_FUNCTION()
279 scale = (int) scale_param; in PHP_FUNCTION()
296 bc_multiply (first, second, &result, scale); in PHP_FUNCTION()
298 RETVAL_STR(bc_num2str_ex(result, scale)); in PHP_FUNCTION()
315 int scale = BCG(bc_precision); in PHP_FUNCTION() local
325 scale = BCG(bc_precision); in PHP_FUNCTION()
330 scale = (int) scale_param; in PHP_FUNCTION()
347 if (!bc_divide(first, second, &result, scale)) { in PHP_FUNCTION()
352 RETVAL_STR(bc_num2str_ex(result, scale)); in PHP_FUNCTION()
369 int scale = BCG(bc_precision); in PHP_FUNCTION() local
379 scale = BCG(bc_precision); in PHP_FUNCTION()
384 scale = (int) scale_param; in PHP_FUNCTION()
401 if (!bc_modulo(first, second, &result, scale)) { in PHP_FUNCTION()
406 RETVAL_STR(bc_num2str_ex(result, scale)); in PHP_FUNCTION()
423 int scale = BCG(bc_precision); in PHP_FUNCTION() local
434 scale = BCG(bc_precision); in PHP_FUNCTION()
439 scale = (int) scale_param; in PHP_FUNCTION()
462 raise_mod_status status = bc_raisemod(bc_base, bc_expo, bc_modulus, &result, scale); in PHP_FUNCTION()
480 RETVAL_STR(bc_num2str_ex(result, scale)); in PHP_FUNCTION()
501 int scale = BCG(bc_precision); in PHP_FUNCTION() local
511 scale = BCG(bc_precision); in PHP_FUNCTION()
516 scale = (int) scale_param; in PHP_FUNCTION()
544 bc_raise(first, exponent, &result, scale); in PHP_FUNCTION()
546 RETVAL_STR(bc_num2str_ex(result, scale)); in PHP_FUNCTION()
563 int scale = BCG(bc_precision); in PHP_FUNCTION() local
572 scale = BCG(bc_precision); in PHP_FUNCTION()
577 scale = (int) scale_param; in PHP_FUNCTION()
587 if (bc_sqrt (&result, scale) != 0) { in PHP_FUNCTION()
588 RETVAL_STR(bc_num2str_ex(result, scale)); in PHP_FUNCTION()
606 int scale = BCG(bc_precision); in PHP_FUNCTION() local
616 scale = BCG(bc_precision); in PHP_FUNCTION()
621 scale = (int) scale_param; in PHP_FUNCTION()
627 if (!bc_str2num(&first, ZSTR_VAL(left), scale)) { in PHP_FUNCTION()
632 if (!bc_str2num(&second, ZSTR_VAL(right), scale)) { in PHP_FUNCTION()