Re: bigger than 32 bit int (and signed!)
| From: | Richard Lynch | Date: | Fri, 29 Dec 2000 22:37:23 +0000 |
| Subject: | Re: bigger than 32 bit int (and signed!) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32236@lists.php.net to get a copy of this message | ||
You could buy a 64-bit computer :-)
Actually, that's not all in jest -- PHP keeps things simple, and uses the
builtin datatypes of C which are hardware-based for your INT size. So if
you*had* a 64-bit machine, PHP would be giving you 64-bit integers.
I don't think the Developers are going to rush to add a lot of custom code
for 64-bit support when they know that in a few years the hardware will do
that automatically... But that's just a guess.
This would probably better addressed by reading the TODO list to see if
64-bit support is there, and then hanging out on PHP-DEV list and asking
around there. (Check the archives first, of course)
----- Original Message -----
From: jeremy brand <jeremy@nirvani.net>
Newsgroups: php.general
Sent: Thursday, December 28, 2000 3:03 PM
Subject: [PHP] bigger than 32 bit int (and signed!)
> Are there plans to do double precision numbers in PHP? The reason I
> ask is that I use MySQL a lot, and they support INT:32 bits (signed
> and not) and also BIGINT: 64 bits (signed and not).
>
> It would be really nice to have larger number support in PHP. BC math
> is a nice hack (but limited to what you can do), but it would be truly
> nice to have large and unsigned numbers in PHP.
>
> <sarcasm>
> Doesn't it just make you jealous that MySQL can do it but PHP can't?
> </sarcasm>
>
> Just my $0.05. Let me know if you need more...
>
> Jeremy
>
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 ::
jeremy@nirvani.net
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for
> more
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "<body>" -- Quoted from Yahoo! homepage,
> http://www.yahoo.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>