From: [EMAIL PROTECTED] Operating system: All PHP version: 4.2.3 PHP Bug Type: Scripting Engine problem Bug description: ceil() misbehaviour
Please take a look at following example: <?php echo ceil(83.47 * 100 * 31); echo ceil(83.47 * 31 * 100); ?> For both for PHP 4.2.3 and 4.3.0 RC2, it gives me this result: 258757 258758 which is definitly breaks mathematical rules. Correct result should be 258757. -- Edit bug report at http://bugs.php.net/?id=21266&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21266&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21266&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21266&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21266&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21266&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21266&r=support Expected behavior: http://bugs.php.net/fix.php?id=21266&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21266&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21266&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21266&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21266&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21266&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21266&r=isapi
