Searched refs:cscale (Results 1 – 1 of 1) sorted by relevance
/PHP-7.2/ext/bcmath/libbcmath/src/ |
H A D | sqrt.c | 48 int cscale; in bc_sqrt() local 86 cscale = (*num)->n_scale; in bc_sqrt() 98 cscale = 3; in bc_sqrt() 107 bc_divide (*num, guess, &guess, cscale); in bc_sqrt() 109 bc_multiply (guess, point5, &guess, cscale); in bc_sqrt() 110 bc_sub (guess, guess1, &diff, cscale+1); in bc_sqrt() 111 if (bc_is_near_zero (diff, cscale)) in bc_sqrt() 113 if (cscale < rscale+1) in bc_sqrt() 114 cscale = MIN (cscale*3, rscale+1); in bc_sqrt()
|
Completed in 4 milliseconds