Lines Matching refs:scale
42 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)
233 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
240 scale = (int) (scale_param < 0 ? 0 : scale_param); in PHP_FUNCTION()
248 bc_add (first, second, &result, scale); in PHP_FUNCTION()
250 if (result->n_scale > scale) { in PHP_FUNCTION()
252 result->n_scale = scale; in PHP_FUNCTION()
271 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
278 scale = (int) ((int)scale_param < 0 ? 0 : scale_param); in PHP_FUNCTION()
286 bc_sub (first, second, &result, scale); in PHP_FUNCTION()
288 if (result->n_scale > scale) { in PHP_FUNCTION()
290 result->n_scale = scale; in PHP_FUNCTION()
309 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
316 scale = (int) ((int)scale_param < 0 ? 0 : scale_param); in PHP_FUNCTION()
324 bc_multiply (first, second, &result, scale); in PHP_FUNCTION()
326 if (result->n_scale > scale) { in PHP_FUNCTION()
328 result->n_scale = scale; in PHP_FUNCTION()
347 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
354 scale = (int) ((int)scale_param < 0 ? 0 : scale_param); in PHP_FUNCTION()
363 switch (bc_divide(first, second, &result, scale)) { in PHP_FUNCTION()
365 if (result->n_scale > scale) { in PHP_FUNCTION()
367 result->n_scale = scale; in PHP_FUNCTION()
424 zend_long scale = BCG(bc_precision); in PHP_FUNCTION() local
427 …S(), "sss|l", &left, &left_len, &right, &right_len, &modulous, &modulous_len, &scale) == FAILURE) { in PHP_FUNCTION()
439 scale_int = (int) ((int)scale < 0 ? 0 : scale); in PHP_FUNCTION()
467 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
474 scale = (int) ((int)scale_param < 0 ? 0 : scale_param); in PHP_FUNCTION()
482 bc_raise (first, second, &result, scale); in PHP_FUNCTION()
484 if (result->n_scale > scale) { in PHP_FUNCTION()
486 result->n_scale = scale; in PHP_FUNCTION()
505 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
512 scale = (int) ((int)scale_param < 0 ? 0 : scale_param); in PHP_FUNCTION()
518 if (bc_sqrt (&result, scale) != 0) { in PHP_FUNCTION()
519 if (result->n_scale > scale) { in PHP_FUNCTION()
521 result->n_scale = scale; in PHP_FUNCTION()
541 int scale = (int)BCG(bc_precision), argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
548 scale = (int) ((int)scale_param < 0 ? 0 : scale_param); in PHP_FUNCTION()
554 bc_str2num(&first, left, scale); in PHP_FUNCTION()
555 bc_str2num(&second, right, scale); in PHP_FUNCTION()