Lines Matching refs:scale
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()
105 memset (&qval->n_value[n1->n_len],0,scale); in bc_divide()
107 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
121 if (scale1 < scale) in bc_divide()
122 extra = scale - scale1; in bc_divide()
141 if (len2 > len1+scale) in bc_divide()
143 qdigits = scale+1; in bc_divide()
150 qdigits = scale+1; /* One for the zero integer part. */ in bc_divide()
152 qdigits = len1-len2+scale+1; in bc_divide()
156 qval = bc_new_num (qdigits-scale,scale); in bc_divide()
181 while (qdig <= len1+scale-len2) in bc_divide()