Re: [PHP-DEV] New function: bcpowmod()

2002-12-10 Thread Derick Rethans
On Mon, 9 Dec 2002, Sara Golemon wrote: I'd like to add a new function to the bcmath module. It's very similar to the bcpow() function except that it takes advantage of a fast exponentiation method when used with a modulous. Based on the function call into libbcmath to bc_raisemod()

[PHP-DEV] New function: bcpowmod()

2002-12-09 Thread Sara Golemon
I'd like to add a new function to the bcmath module. It's very similar to the bcpow() function except that it takes advantage of a fast exponentiation method when used with a modulous. Based on the function call into libbcmath to bc_raisemod() {bcpow() uses bc_raise()}, it would seem to make the