Re: Why do these values not match?

From: Date: Wed, 26 Jun 2002 01:45:02 +0000
Subject: Re: Why do these values not match?
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-20119@lists.php.net to get a copy of this message
On Tue, 25 Jun 2002 18:14:13 -0700 <szii@sziisoft.com> wrote: > IEEE standard is precision to 6 decimal places. > Having an epsilon of < 2 is ridiculously small, and > well under the IEEE / ANSI standard. While floats > should never be directly compared as a matter of > course, in this instance it's a bit silly. Never test equality with two floats,this is a rule in ANSI C too, not directly the standard, but a well known fact. And this fact is one in many langages. Try a test with mysql :). I will not continue discussions about bugs or not, that has been already discussed many times :) check the archives. hth hth pa

« previous php.db (#20119) next »