Re: bigger than 32 bit int (and signed!)

From: Date: Sat, 30 Dec 2000 17:20:48 +0000
Subject: Re: bigger than 32 bit int (and signed!)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32353@lists.php.net to get a copy of this message
> > > From: jeremy brand <jeremy@nirvani.net> > > > > 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. > The BCMATH and GMP extensions are there exactly for this. > > -Rasmus So perhaps the discussion should be focussed on what limitations you are finding with BC Math, and how to work around them, or whether GMP is better for those uses. You may also need to petition the MySQL folks to add some functions to MySQL or code them in C yourself and contribute them to MySQL.

« previous php.general (#32353) next »