Re: Can this code go faster?

From: Date: Wed, 27 Apr 2005 03:23:54 +0000
Subject: Re: Can this code go faster?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213985@lists.php.net to get a copy of this message
On Tue, April 26, 2005 9:56 am, René Fournier said: > I've looked in the docs and don't see anything for this per se... > I need to convert a binary number of arbitrary length to a signed > integer. No matter what you do, a PHP integer is going to be 32-bit. So "artbitrary length" is not gonna happen... Unless you use something like BC_MATH and specify your precision. Also look into the user-contributed notes on the http://php.net/bindec page, as many seem to be trying to do the same thing as you are. http://php.net/base_convert also had pointers about using GMP which may hold a solution. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#213985) next »