ID:               25317
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbug at paypc dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: All
 PHP Version:      4.3.3
 New Comment:

duplicate of #11060.


Previous Comments:
------------------------------------------------------------------------

[2003-08-29 16:49:18] phpbug at paypc dot com

Description:
------------
This is fairly straightforward.  Right now, native numeric types are
float/doubles and 32-bit integers.

Given that > 4GB of memory in a machine is affordable even for the home
consumer, it is important to be able to represent exact cardinal values
without any floating-point nonsense.

I don't know how much impact this would have the internals of Zend, or
performance for that matter.  Non-64-bit-native CPUs could probably
adopt optimisations to avoid having to do 64-bit operations on values /
expressions where the values are not expected to exceed 32 bits of
value, or perhaps, via "type-hinting" by the programmer.

I realise that "bcmath" stuff can handle an effectively infinitely
large integer value... but that's really a string-math subsystem with
all of the usual limitations (and performance costs).
 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25317&edit=1

Reply via email to