Home
last modified time | relevance | path

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

/PHP-7.0/ext/bcmath/libbcmath/src/
H A Dadd.c47 bc_add (n1, n2, result, scale_min) in bc_add() argument
49 int scale_min;
57 sum = _bc_do_add (n1, n2, scale_min);
68 sum = _bc_do_sub (n2, n1, scale_min);
73 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale));
79 sum = _bc_do_sub (n1, n2, scale_min);
H A Dsub.c47 bc_sub (n1, n2, result, scale_min) in bc_sub() argument
49 int scale_min;
57 diff = _bc_do_add (n1, n2, scale_min);
69 diff = _bc_do_sub (n2, n1, scale_min);
74 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale));
80 diff = _bc_do_sub (n1, n2, scale_min);
H A Ddoaddsub.c47 _bc_do_add (n1, n2, scale_min) in _bc_do_add() argument
49 int scale_min;
60 sum = bc_new_num (sum_digits, MAX(sum_scale, scale_min));
63 if (scale_min > sum_scale)
66 for (count = scale_min - sum_scale; count > 0; count--)
139 _bc_do_sub (n1, n2, scale_min) in _bc_do_sub() argument
141 int scale_min;
154 diff = bc_new_num (diff_len, MAX(diff_scale, scale_min));
157 if (scale_min > diff_scale)
160 for (count = scale_min - diff_scale; count > 0; count--)
H A Dprivate.h41 bc_num _bc_do_add (bc_num n1, bc_num n2, int scale_min);
42 bc_num _bc_do_sub (bc_num n1, bc_num n2, int scale_min);
H A Dbcmath.h128 _PROTOTYPE(void bc_add, (bc_num n1, bc_num n2, bc_num *result, int scale_min));
130 _PROTOTYPE(void bc_sub, (bc_num n1, bc_num n2, bc_num *result, int scale_min));

Completed in 9 milliseconds