Re: Weird?!?!

From: Date: Wed, 31 Jul 2002 20:30:19 +0000
Subject: Re: Weird?!?!
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-86393@lists.php.net to get a copy of this message
On Wed, Jul 31, 2002 at 07:24:05PM +0200, derick@php.net wrote: > 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. Precision is questionable but rounding errors cannot be. Two integers multiplied will always have .00 ... Infact i am nearly sure that double precision is enough... Stefan

« previous php.dev (#86393) next »