Bug #1335 Updated: modulus operator overflows

From: Date: Tue, 20 Apr 1999 22:54:10 +0000
Subject: Bug #1335 Updated: modulus operator overflows
Groups: php.dev 
Request: Send a blank email to php-dev+get-5159@lists.php.net to get a copy of this message
Do these mails also get sent to the person who opened the bug report? Andi >Delivered-To: andi@vipe.technion.ac.il >Mailing-List: contact php-dev-help@lists.php.net; run by ezmlm >Delivered-To: mailing list php-dev@lists.php.net >Date: 20 Apr 1999 19:37:35 -0000 >To: php-dev@lists.php.net >Subject: [PHP-DEV] Bug #1335 Updated: modulus operator overflows >From: Bug Database <php-dev@lists.php.net> > >ID: 1335 >Updated by: andi >Reported By: cclarke@netcom.com >Status: Closed >Bug Type: Misbehaving function >Assigned To: >Comments: > >PHP 3 supports the BC math library functions of arbitrary precision operations, so you're best off using them as >you seem to be dealing with very large numbers. >The mod function is called bc_mod(). Check out the online man pages for more information. >In any case, there might be better ways of doing the built-in math operations. It might still be a good idea to take >a look at them, but we have to be careful not to make incompatible changes. Some places already automatically >use the BC math library in case the operations overflow and the BC library is compiled into PHP > >Full Bug description available at: http://bugs.php.net?id=1335 > > >-- >PHP Development Mailing List http://www.php.net/ >To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net >For help: php-dev-help@lists.php.net > > > --- Andi Gutmans <andi@zend.com> ICQ: 1568297 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5159) next »