Home
last modified time | relevance | path

Searched refs:scale_min (Results 1 – 5 of 5) sorted by relevance

/PHP-8.0/ext/bcmath/libbcmath/src/
H A Dadd.c46 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 Dsub.c46 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 Ddoaddsub.c46 _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 Dprivate.h36 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 Dbcmath.h129 _PROTOTYPE(void bc_add, (bc_num n1, bc_num n2, bc_num *result, int scale_min));
131 _PROTOTYPE(void bc_sub, (bc_num n1, bc_num n2, bc_num *result, int scale_min));

Completed in 6 milliseconds