Lines Matching refs:n2
41 bc_num _bc_do_add(bc_num n1, bc_num n2) in _bc_do_add() argument
44 size_t sum_len = MAX(n1->n_len, n2->n_len) + 1; in _bc_do_add()
45 size_t sum_scale = MAX(n1->n_scale, n2->n_scale); in _bc_do_add()
46 size_t min_len = MIN (n1->n_len, n2->n_len); in _bc_do_add()
47 size_t min_scale = MIN(n1->n_scale, n2->n_scale); in _bc_do_add()
58 n2ptr = (char *) (n2->n_value + n2->n_len + n2->n_scale - 1); in _bc_do_add()
69 for (count = n2->n_scale - min_scale; count > 0; count--) { in _bc_do_add()
143 if (n1->n_len != n2->n_len) { in _bc_do_add()
144 if (n2->n_len > n1->n_len) { in _bc_do_add()
172 bc_num _bc_do_sub(bc_num n1, bc_num n2) in _bc_do_sub() argument
176 size_t diff_len = EXPECTED(n1->n_len >= n2->n_len) ? n1->n_len : n2->n_len; in _bc_do_sub()
177 size_t diff_scale = MAX(n1->n_scale, n2->n_scale); in _bc_do_sub()
179 size_t min_len = n1->n_len >= n2->n_len ? n2->n_len : n1->n_len; in _bc_do_sub()
180 size_t min_scale = MIN(n1->n_scale, n2->n_scale); in _bc_do_sub()
192 n2ptr = (char *) (n2->n_value + n2->n_len + n2->n_scale - 1); in _bc_do_sub()
203 for (count = n2->n_scale - min_scale; count > 0; count--) { in _bc_do_sub()