Posted by Chung Leong on 02/23/06 20:10
Oli Filth wrote:
> The maximum floating-point value is platform dependent. For a 64-bit
> platform, it's ~1.8e308, but for a 32-bit platform it's ~3.4e38
> (assuming you're using the IEEE 754 standard).
Actually the bit-ness of a CPU only refers to its integer handling
capability. Nearly all FPUs--even the ancient 8087--can handle both
single and double precision floating points.
Float points in PHP are defined as doubles, which in C are always
64-bit IIRC.
[Back to original message]
|