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: Date: Tue, 17 Apr 2007 17:53:36 +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  Groups: php.internals php.qa 
Request: Send a blank email to php-qa+get-28198@lists.php.net to get a copy of this message
Hello Sebastian, lemme 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.... best regards marcus Tuesday, April 17, 2007, 7:45:57 PM, you wrote: > Marcus Boerger wrote: >> float numbers are never perfect values. So should in anyway never rely >> on a certain output format. So there is nothing to document here. > We have a changed behavior here that should be documented. Otherwise > users will run into problems. As the non-academic example that raised > this discussion shows. > - Sebastian Best regards, Marcus

« previous php.qa (#28198) next »