Searched refs:scale_min (Results 1 – 5 of 5) sorted by relevance
/PHP-8.2/ext/bcmath/libbcmath/src/ |
H A D | add.c | 46 bc_add (n1, n2, result, scale_min) in bc_add() argument 48 int scale_min; 56 sum = _bc_do_add (n1, n2, scale_min); 67 sum = _bc_do_sub (n2, n1, scale_min); 72 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale)); 78 sum = _bc_do_sub (n1, n2, scale_min);
|
H A D | sub.c | 46 bc_sub (n1, n2, result, scale_min) in bc_sub() argument 48 int scale_min; 56 diff = _bc_do_add (n1, n2, scale_min); 68 diff = _bc_do_sub (n2, n1, scale_min); 73 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale)); 79 diff = _bc_do_sub (n1, n2, scale_min);
|
H A D | doaddsub.c | 46 _bc_do_add (n1, n2, scale_min) in _bc_do_add() argument 48 int scale_min; 59 sum = bc_new_num (sum_digits, MAX(sum_scale, scale_min)); 62 if (scale_min > sum_scale) 65 for (count = scale_min - sum_scale; count > 0; count--) 138 _bc_do_sub (n1, n2, scale_min) in _bc_do_sub() argument 140 int scale_min; 153 diff = bc_new_num (diff_len, MAX(diff_scale, scale_min)); 156 if (scale_min > diff_scale) 159 for (count = scale_min - diff_scale; count > 0; count--)
|
H A D | private.h | 36 bc_num _bc_do_add (bc_num n1, bc_num n2, int scale_min); 37 bc_num _bc_do_sub (bc_num n1, bc_num n2, int scale_min);
|
H A D | bcmath.h | 119 void bc_add(bc_num n1, bc_num n2, bc_num *result, int scale_min); 121 void bc_sub(bc_num n1, bc_num n2, bc_num *result, int scale_min);
|
Completed in 10 milliseconds