![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: & behaves differently
From: Tim Roberts <timr@probo.com>
Date: Tue Mar 07 2006 - 06:53:47 CET
Oli Filth <catch@olifilth.co.uk> wrote:
Actually, you're seeing an artifact of the design of the x86 FPU here. With
I looked up the PHP code; it is doing a simple C cast to unsigned long, and
int main(void)
C:\tmp>x
C:\tmp>
The reason is that the mantissa in your example requires more than 64 bits,
-- - Tim Roberts, timr@probo.com Providenza & Boekelheide, Inc.Received on Mon May 1 02:28:42 2006 |