Date: 12/29/00
- Next message: Richard Lynch: "Re: [PHP] getting info from a remote http server"
- Previous message: Richard Lynch: "Re: [PHP] reposting, no one answered the first time"
- In reply to: jeremy brand: "[PHP] bigger than 32 bit int (and signed!)"
- Next in thread: jeremy brand: "Re: [PHP] bigger than 32 bit int (and signed!)"
- Reply: jeremy brand: "Re: [PHP] bigger than 32 bit int (and signed!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>>
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 <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Lynch: "Re: [PHP] getting info from a remote http server"
- Previous message: Richard Lynch: "Re: [PHP] reposting, no one answered the first time"
- In reply to: jeremy brand: "[PHP] bigger than 32 bit int (and signed!)"
- Next in thread: jeremy brand: "Re: [PHP] bigger than 32 bit int (and signed!)"
- Reply: jeremy brand: "Re: [PHP] bigger than 32 bit int (and signed!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

