Home
last modified time | relevance | path

Searched refs:cscale (Results 1 – 1 of 1) sorted by relevance

/PHP-8.0/ext/bcmath/libbcmath/src/
H A Dsqrt.c47 int cscale; in bc_sqrt() local
84 cscale = (*num)->n_scale; in bc_sqrt()
97 cscale = 3; in bc_sqrt()
106 bc_divide (*num, guess, &guess, cscale); in bc_sqrt()
108 bc_multiply (guess, point5, &guess, cscale); in bc_sqrt()
109 bc_sub (guess, guess1, &diff, cscale+1); in bc_sqrt()
110 if (bc_is_near_zero (diff, cscale)) in bc_sqrt()
112 if (cscale < rscale+1) in bc_sqrt()
113 cscale = MIN (cscale*3, rscale+1); in bc_sqrt()

Completed in 4 milliseconds