Lines Matching refs:num
45 bc_sqrt (bc_num *num, int scale) in bc_sqrt() argument
52 cmp_res = bc_compare (*num, BCG(_zero_)); in bc_sqrt()
59 bc_free_num (num); in bc_sqrt()
60 *num = bc_copy_num (BCG(_zero_)); in bc_sqrt()
64 cmp_res = bc_compare (*num, BCG(_one_)); in bc_sqrt()
67 bc_free_num (num); in bc_sqrt()
68 *num = bc_copy_num (BCG(_one_)); in bc_sqrt()
73 rscale = MAX (scale, (*num)->n_scale); in bc_sqrt()
86 cscale = (*num)->n_scale; in bc_sqrt()
93 bc_int2num (&guess1,(*num)->n_len); in bc_sqrt()
107 bc_divide (*num, guess, &guess, cscale); in bc_sqrt()
121 bc_free_num (num); in bc_sqrt()
122 bc_divide (guess,BCG(_one_),num,rscale); in bc_sqrt()