Lines Matching refs:scale
87 bc_divide (bc_num n1, bc_num n2, bc_num *quot, int scale) in bc_divide() argument
107 qval = bc_new_num (n1->n_len, scale); in bc_divide()
109 memset (&qval->n_value[n1->n_len],0,scale); in bc_divide()
111 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
125 if (scale1 < scale) in bc_divide()
126 extra = scale - scale1; in bc_divide()
145 if (len2 > len1+scale) in bc_divide()
147 qdigits = scale+1; in bc_divide()
154 qdigits = scale+1; /* One for the zero integer part. */ in bc_divide()
156 qdigits = len1-len2+scale+1; in bc_divide()
160 qval = bc_new_num (qdigits-scale,scale); in bc_divide()
185 while (qdig <= len1+scale-len2) in bc_divide()