Lines Matching refs:n_scale
608 if (bc_exponent->n_scale != 0) { in PHP_FUNCTION()
811 RETVAL_NEW_STR(bc_num2str_ex(result, result->n_scale)); in PHP_FUNCTION()
1029 (*ret)->n_scale = MIN(*scale, (*ret)->n_scale); in bcmath_number_add_internal()
1041 (*ret)->n_scale = MIN(*scale, (*ret)->n_scale); in bcmath_number_sub_internal()
1057 (*ret)->n_scale = MIN(*scale, (*ret)->n_scale); in bcmath_number_mul_internal()
1079 size_t diff = *scale - (*ret)->n_scale; in bcmath_number_div_internal()
1105 if (UNEXPECTED(n2->n_scale != 0)) { in bcmath_number_pow_internal()
1153 size_t diff = *scale - (*ret)->n_scale; in bcmath_number_pow_internal()
1351 ret = bc_compare(n1, n2, MAX(n1->n_scale, n2->n_scale)); in bcmath_number_compare()
1691 ret->n_scale = MIN(scale, ret->n_scale); in PHP_METHOD()
1694 size_t diff = scale - ret->n_scale; in PHP_METHOD()
1728 scale = MAX(intern->num->n_scale, num->n_scale); in PHP_METHOD()
1806 bcmath_number_obj_t *new_intern = bcmath_number_new_obj(ret, ret->n_scale); in PHP_METHOD()