|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-10-29 20:17 UTC] magnus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 00:00:02 2025 UTC |
Description: ------------ This simple operation fails. We have tried it on PHP 4.3.4 standard install on fedora Core 2, and PHP 5.0.1. Instead of 0 we get 1-8.8817841970013E-16. If we change a bit the number the code doesn't fails, very weird. Reproduce code: --------------- <?php die(9.95 + 4.97 - 9.95 - 4.97); ?> Expected result: ---------------- 0 Actual result: -------------- 1-8.8817841970013E-16