Re: strange behavior, when converting float to int

From: Date: Tue, 06 May 2008 14:40:25 +0000
Subject: Re: strange behavior, when converting float to int
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-273950@lists.php.net to get a copy of this message
On Tue, 2008-05-06 at 09:34 -0500, Philip Thompson wrote: > I got the same results. I'm not exactly sure what's happening, but > I'd > be curious to see if there's anyone else who can shed some light. > > PHP Version 5.2.4. Is this not coming from the underlying C libs that directly use the FP on the CPU? I would say that the compile flags, CPU settings etc would probably have an impact on accuracy. --Paul

« previous php.general (#273950) next »