Re: RFC - Two more Math packages: Math_Integer and Math_Fibonacci
| From: | Pierre-Alain Joye | Date: | Wed, 01 Jan 2003 14:11:54 +0000 |
| Subject: | Re: RFC - Two more Math packages: Math_Integer and Math_Fibonacci | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11983@lists.php.net to get a copy of this message | ||
On Tue, 31 Dec 2002 23:46:34 -0800 (PST)
"Jesus M. Castagnetto" <jcastagnetto@yahoo.com> wrote:
> Just finished pearizing a couple of Math_* packages. Math_Integer will
> use GMP or BCMATH to deal w/ big integers, otherwise it will fall back
> to the standard PHP integer representation (in which case it will
> refuse to initialize objects w/ a value bigger than the maximum for
> signed long).
>
> Get it doing:
>
> $ pear install
> http://www.scripps.edu/~jesusmc/stuff/Math_Integer-0.8.tgz
>
> Math_Fibonacci, is a class w/ static methods to create and manipulate
> numbers in the Fibonacci series (0, 1, 1, 2, 3, 5, ...). It uses
> Math_Integer so install that one first.
>
> Get Math_Fibonacci by doing:
>
> $ pear install
> http://www.scripps.edu/~jesusmc/stuff/Math_Fibonacci-0.8.tgz
>
> Comments/ideas/+1s will be appreciated ;-)
+1, and interested about a C version in the futur for most of your math
packages :)
pierre