Home
last modified time | relevance | path

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

/PHP-8.3/ext/bcmath/libbcmath/src/
H A Dsqrt.c61 size_t cscale; in bc_sqrt() local
75 cscale = (*num)->n_scale; in bc_sqrt()
86 cscale = 3; in bc_sqrt()
94 bc_divide(*num, guess, &guess, cscale); in bc_sqrt()
96 bc_multiply(guess, point5, &guess, cscale); in bc_sqrt()
97 bc_sub(guess, guess1, &diff, cscale + 1); in bc_sqrt()
98 if (bc_is_near_zero(diff, cscale)) { in bc_sqrt()
99 if (cscale < rscale + 1) { in bc_sqrt()
100 cscale = MIN (cscale * 3, rscale + 1); in bc_sqrt()

Completed in 4 milliseconds