Re: Float comparison
| From: | Pierre Joye | Date: | Fri, 02 May 2008 18:18:21 +0000 |
| Subject: | Re: Float comparison | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37407@lists.php.net to get a copy of this message | ||
Hi Todd,
On Fri, May 2, 2008 at 7:36 PM, Todd Ruth <truth@proposaltech.com> wrote:
> I'm afraid you'll find Pierre's response representative. The
> php devs seem to consider the fact that a theoretically perfect
> "==" doesn't exist
We are not the ones to consider that, that's a fact since the very
first floating point unit was implemented. That's a golden rule in
programming.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org