Re: I need a math genius!

From: Date: Fri, 09 May 2003 22:54:32 +0000
Subject: Re: I need a math genius!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147076@lists.php.net to get a copy of this message
might find something in here... http://www.php.net/manual/en/ref.bc.php http://www.php.net/manual/en/ref.gmp.php On Fri, 9 May 2003, Jason Caldwell wrote: > Hi > > I need to divide, subtract and add *very* large unsigned integer numbers -- > no floating point numbers. In PHP I'm limited to an integer no larger than: > 2,147,483,647 ... > > How is it possible to calculate much, much larger numbers? > > For example, say I want to add the following number: > > (7827363524473290039928827730299288277102938474655367299188272630 + > 7829817981291982837938719793747646199192739190198791238479832) > > --- > > I'm ok at math, but not too skilled in it -- so, if the above can be > calculated using Floating Numbers - great! -- however, if possible, I'd like > to stick to unsigned integers. > > Thanks, > Jason > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#147076) next »