Searched refs:rscale (Results 1 – 4 of 4) sorted by relevance
/PHP-8.3/ext/bcmath/libbcmath/src/ |
H A D | raise.c | 45 size_t rscale; in bc_raise() local 61 rscale = scale; in bc_raise() 64 rscale = MIN (num1->n_scale * exponent, MAX(scale, num1->n_scale)); in bc_raise() 92 bc_divide(BCG(_one_), temp, result, rscale); in bc_raise() 97 if ((*result)->n_scale > rscale) { in bc_raise() 98 (*result)->n_scale = rscale; in bc_raise()
|
H A D | divmod.c | 48 size_t rscale; in bc_divmod() local 56 rscale = MAX (num1->n_scale, num2->n_scale + scale); in bc_divmod() 64 bc_multiply(temp, num2, &temp, rscale); in bc_divmod() 65 bc_sub(num1, temp, rem, rscale); in bc_divmod()
|
H A D | sqrt.c | 60 size_t rscale; in bc_sqrt() local 64 rscale = MAX (scale, (*num)->n_scale); in bc_sqrt() 99 if (cscale < rscale + 1) { in bc_sqrt() 100 cscale = MIN (cscale * 3, rscale + 1); in bc_sqrt() 109 bc_divide(guess, BCG(_one_), num, rscale); in bc_sqrt()
|
H A D | raisemod.c | 40 size_t rscale; in bc_raisemod() local 70 rscale = MAX(scale, power->n_scale); in bc_raisemod() 78 bc_multiply(temp, power, &temp, rscale); in bc_raisemod() 81 bc_multiply(power, power, &power, rscale); in bc_raisemod()
|
Completed in 23 milliseconds