Lines Matching refs:prod
69 _bc_simp_mul (bc_num n1, int n1len, bc_num n2, int n2len, bc_num *prod, in _bc_simp_mul() argument
78 *prod = bc_new_num (prodlen, 0); in _bc_simp_mul()
82 pvptr = (char *) ((*prod)->n_value + prodlen - 1); in _bc_simp_mul()
170 _bc_rec_mul (bc_num u, int ulen, bc_num v, int vlen, bc_num *prod, in _bc_rec_mul() argument
182 _bc_simp_mul (u, ulen, v, vlen, prod, full_scale); in _bc_rec_mul()
239 *prod = bc_new_num(prodlen, 0); in _bc_rec_mul()
242 _bc_shift_addsub (*prod, m1, 2*n, 0); in _bc_rec_mul()
243 _bc_shift_addsub (*prod, m1, n, 0); in _bc_rec_mul()
245 _bc_shift_addsub (*prod, m3, n, 0); in _bc_rec_mul()
246 _bc_shift_addsub (*prod, m3, 0, 0); in _bc_rec_mul()
247 _bc_shift_addsub (*prod, m2, n, d1->n_sign != d2->n_sign); in _bc_rec_mul()
266 bc_multiply (bc_num n1, bc_num n2, bc_num *prod, int scale) in bc_multiply() argument
289 bc_free_num (prod); in bc_multiply()
290 *prod = pval; in bc_multiply()