Lines Matching refs:second
158 bc_num first, second, result; in PHP_FUNCTION() local
178 bc_init_num(&second); in PHP_FUNCTION()
186 if (php_str2num(&second, ZSTR_VAL(right)) == FAILURE) { in PHP_FUNCTION()
191 bc_add (first, second, &result, scale); in PHP_FUNCTION()
197 bc_free_num(&second); in PHP_FUNCTION()
209 bc_num first, second, result; in PHP_FUNCTION() local
229 bc_init_num(&second); in PHP_FUNCTION()
237 if (php_str2num(&second, ZSTR_VAL(right)) == FAILURE) { in PHP_FUNCTION()
242 bc_sub (first, second, &result, scale); in PHP_FUNCTION()
248 bc_free_num(&second); in PHP_FUNCTION()
260 bc_num first, second, result; in PHP_FUNCTION() local
280 bc_init_num(&second); in PHP_FUNCTION()
288 if (php_str2num(&second, ZSTR_VAL(right)) == FAILURE) { in PHP_FUNCTION()
293 bc_multiply (first, second, &result, scale); in PHP_FUNCTION()
299 bc_free_num(&second); in PHP_FUNCTION()
311 bc_num first, second, result; in PHP_FUNCTION() local
331 bc_init_num(&second); in PHP_FUNCTION()
339 if (php_str2num(&second, ZSTR_VAL(right)) == FAILURE) { in PHP_FUNCTION()
344 switch (bc_divide(first, second, &result, scale)) { in PHP_FUNCTION()
355 bc_free_num(&second); in PHP_FUNCTION()
367 bc_num first, second, result; in PHP_FUNCTION() local
387 bc_init_num(&second); in PHP_FUNCTION()
395 if (php_str2num(&second, ZSTR_VAL(right)) == FAILURE) { in PHP_FUNCTION()
400 switch (bc_modulo(first, second, &result, scale)) { in PHP_FUNCTION()
411 bc_free_num(&second); in PHP_FUNCTION()
423 bc_num first, second, mod, result; in PHP_FUNCTION() local
444 bc_init_num(&second); in PHP_FUNCTION()
453 if (php_str2num(&second, ZSTR_VAL(right)) == FAILURE) { in PHP_FUNCTION()
463 if (bc_raisemod(first, second, mod, &result, scale) == SUCCESS) { in PHP_FUNCTION()
469 bc_free_num(&second); in PHP_FUNCTION()
482 bc_num first, second, result; in PHP_FUNCTION() local
502 bc_init_num(&second); in PHP_FUNCTION()
510 if (php_str2num(&second, ZSTR_VAL(right)) == FAILURE) { in PHP_FUNCTION()
515 bc_raise (first, second, &result, scale); in PHP_FUNCTION()
521 bc_free_num(&second); in PHP_FUNCTION()
576 bc_num first, second; in PHP_FUNCTION() local
596 bc_init_num(&second); in PHP_FUNCTION()
603 if (!bc_str2num(&second, ZSTR_VAL(right), scale)) { in PHP_FUNCTION()
608 RETVAL_LONG(bc_compare(first, second)); in PHP_FUNCTION()
612 bc_free_num(&second); in PHP_FUNCTION()