Home
last modified time | relevance | path

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

/PHP-5.6/ext/bcmath/libbcmath/src/
H A Draise.c51 int rscale; in bc_raise() local
76 rscale = scale; in bc_raise()
81 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); in bc_raise()
112 bc_divide (BCG(_one_), temp, result, rscale TSRMLS_CC); in bc_raise()
119 if ((*result)->n_scale > rscale) in bc_raise()
120 (*result)->n_scale = rscale; in bc_raise()
H A Ddivmod.c52 int rscale; in bc_divmod() local
58 rscale = MAX (num1->n_scale, num2->n_scale+scale); in bc_divmod()
65 bc_multiply (temp, num2, &temp, rscale TSRMLS_CC); in bc_divmod()
66 bc_sub (num1, temp, rem, rscale); in bc_divmod()
H A Dsqrt.c47 int rscale, cmp_res, done; in bc_sqrt() local
73 rscale = MAX (scale, (*num)->n_scale); in bc_sqrt()
113 if (cscale < rscale+1) in bc_sqrt()
114 cscale = MIN (cscale*3, rscale+1); in bc_sqrt()
122 bc_divide (guess,BCG(_one_),num,rscale TSRMLS_CC); in bc_sqrt()
H A Draisemod.c49 int rscale; in bc_raisemod() local
77 rscale = MAX(scale, base->n_scale); in bc_raisemod()
83 bc_multiply (temp, power, &temp, rscale TSRMLS_CC); in bc_raisemod()
87 bc_multiply (power, power, &power, rscale TSRMLS_CC); in bc_raisemod()

Completed in 9 milliseconds