Lines Matching refs:n1
83 bc_divide (bc_num n1, bc_num n2, bc_num *quot, int scale) in bc_divide() argument
103 qval = bc_new_num (n1->n_len, scale); in bc_divide()
104 qval->n_sign = (n1->n_sign == n2->n_sign ? PLUS : MINUS); in bc_divide()
105 memset (&qval->n_value[n1->n_len],0,scale); in bc_divide()
106 memcpy (qval->n_value, n1->n_value, in bc_divide()
107 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
119 len1 = n1->n_len + scale2; in bc_divide()
120 scale1 = n1->n_scale - scale2; in bc_divide()
125 num1 = (unsigned char *) safe_emalloc (1, n1->n_len+n1->n_scale, extra+2); in bc_divide()
126 memset (num1, 0, n1->n_len+n1->n_scale+extra+2); in bc_divide()
127 memcpy (num1+1, n1->n_value, n1->n_len+n1->n_scale); in bc_divide()
253 qval->n_sign = ( n1->n_sign == n2->n_sign ? PLUS : MINUS ); in bc_divide()