#22333 [NEW]: Error in math operation

From: Date: Thu, 20 Feb 2003 14:26:43 +0000
Subject: #22333 [NEW]: Error in math operation
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33730@lists.php.net to get a copy of this message
From: paulo at gruposim dot com dot br Operating system: Windows ME 4.90.3000 PHP version: 4.3.1 PHP Bug Type: Math related Bug description: Error in math operation <? $x = 0.7; $x -= 0.3; $x -= 0.4; var_dump($x); // return float(-5.55111512313E-17) and not float(0) ?> -- Edit bug report at http://bugs.php.net/?id=22333&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22333&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22333&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22333&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22333&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22333&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22333&r=support Expected behavior: http://bugs.php.net/fix.php?id=22333&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22333&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22333&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22333&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22333&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22333&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22333&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22333&r=gnused

« previous php.bugs (#33730) next »