Lines Matching refs:num
44 bc_sqrt (bc_num *num, int scale) in bc_sqrt() argument
51 cmp_res = bc_compare (*num, BCG(_zero_)); in bc_sqrt()
58 bc_free_num (num); in bc_sqrt()
59 *num = bc_copy_num (BCG(_zero_)); in bc_sqrt()
63 cmp_res = bc_compare (*num, BCG(_one_)); in bc_sqrt()
66 bc_free_num (num); in bc_sqrt()
67 *num = bc_copy_num (BCG(_one_)); in bc_sqrt()
72 rscale = MAX (scale, (*num)->n_scale); in bc_sqrt()
84 cscale = (*num)->n_scale; in bc_sqrt()
92 bc_int2num (&guess1,(*num)->n_len); in bc_sqrt()
106 bc_divide (*num, guess, &guess, cscale); in bc_sqrt()
120 bc_free_num (num); in bc_sqrt()
121 bc_divide (guess,BCG(_one_),num,rscale); in bc_sqrt()