Re: [PHP] strange behavior, when converting float to int
[email protected] (Paul Scott)
| Newsgroups | php.general |
|---|---|
| Message-ID | <1210084826.8747.6.camel@paul-laptop> |
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 All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm