php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4309 error in handling garbage value..
Submitted: 2000-05-03 21:14 UTC Modified: 2002-09-30 19:53 UTC
From: refract at dreamwiz dot com Assigned:
Status: Not a bug Package: Other
PHP Version: 3.0.16 OS: win2000 & IBM AIX
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: refract at dreamwiz dot com
New email:
PHP Version: OS:

 

 [2000-05-03 21:14 UTC] refract at dreamwiz dot com
echo "echo (0.04-0.03-0.01); ===>";
echo (0.04-0.03-0.01);
echo "<BR>\n";
echo "echo (0.03-0.01-0.01-0.01); ===>";
echo (0.03-0.01-0.01-0.01);
echo "<BR>\n";
-------------------------------------------
output

echo (0.04-0.03-0.01); ===>1.7347234759768E-018
echo (0.03-0.01-0.01-0.01); ===>-3.4694469519536E-018
-------------------------------------------



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-30 19:53 UTC] hholzgra@php.net
thats how floats work, see e.g.

http://www.php.net/manual/en/language.types.float.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC