Re: Weird?!?!
| From: | derick@php.net | Date: | Wed, 31 Jul 2002 17:24:05 +0000 |
| Subject: | Re: Weird?!?! | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86389@lists.php.net to get a copy of this message | ||
On Wed, 31 Jul 2002, Stefan Esser wrote:
> should that be replaced with:
>
> result->value.lval = (long)dval;
>
> instead of calculating the multiplication again???
I think this is because of precision and the circumvention of rounding
errors.
Derick
---------------------------------------------------------------------------
Did I help you? http://www.derickrethans.nl/link.php?url=giftlist
Frequent ranting: http://www.derickrethans.nl/
---------------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---------------------------------------------------------------------------