PHP 4.0 Bug #5672 Updated: floor() cant handle large numbers
| From: | Bug Database | Date: | Thu, 20 Jul 2000 01:51:31 +0000 |
| Subject: | PHP 4.0 Bug #5672 Updated: floor() cant handle large numbers | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25169@lists.php.net to get a copy of this message | ||
ID: 5672
Updated by: david
Reported By: ole@chaos.dk
Status: Open
Bug Type: Misbehaving function
Assigned To: david
Comments:
this bug still exists in cvs
it also happens to ceil(), despite what the user says
it's because ceil and floor return longs
they need to return doubles so they can handle larger values - this is what the C library's
doing anyway
does anyone object to this change?
Full Bug description available at: http://bugs.php.net/?id=5672