note 60537 deleted from function.bcpowmod by nlopess

From: Date: Mon, 15 May 2006 21:49:24 +0000
Subject: note 60537 deleted from function.bcpowmod by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-111344@lists.php.net to get a copy of this message
Note Submitter: Jason at v7studios d o t com ---- Do not use ewilde aht bsmdevelopment dawt com's function. Look at the example... don't use an unnecessary while loop... <?php $a = bcpowmod($x, $y, $mod); $b = bcmod(bcpow($x, $y), $mod); // $a and $b are equal to each other. ?> Here is your answer: bcmod(bcpow($x, $y), $mod);

« previous php.notes (#111344) next »