Re: Re: [fw-general] Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev
| From: | Antony Dovgal | Date: | Tue, 17 Apr 2007 18:10:05 +0000 |
| Subject: | Re: Re: [fw-general] Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals php.qa |
| Request: | Send a blank email to php-qa+get-28202@lists.php.net to get a copy of this message | ||
On 04/17/2007 09:57 PM, Sean Coates wrote:
I have a patch for it, but I want to decide how "compressed" floats should look like: 1) 1E+15 or 2) 1.0E+15 At that moment I'm unable to find any particular reasons to state that one of these ways is correct (or more preferred) and the other one is wrong (or less preferred). -- Wbr, Antony Dovgallemme try this again. You can in no way rely on the last digits of a float output. Those depend on your system, your CPU, your ini settings and any operation you do with floats reduces the accuracy....It's still a regression, and should be documented.