Bug #1335 Updated: modulus operator overflows

From: Date: Tue, 20 Apr 1999 19:37:35 +0000
Subject: Bug #1335 Updated: modulus operator overflows
Groups: php.dev 
Request: Send a blank email to php-dev+get-5156@lists.php.net to get a copy of this message
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

« previous php.dev (#5156) next »