SPELL=pear-math_fibonacci
PEAR_PACKAGE=Math_Fibonacci
VERSION=0.8
SOURCE_HASH='sha512:c04cb386839937f3d507b4480c80259f5e7f54a9409f86825cd0f0362f4c26f41b51b2077f8ed3c9a92094ebfa2da79d3af29c3ec6394b9c79f8e4d4dde7e542'
UPDATED=20050408
LICENSE[0]=PHP
KEYWORDS="php"
SHORT='PEAR: Package to calculat and manipulate Fibonacci'
cat << EOF
The Fibonacci series is constructed using the
formula:
F(n) = F(n - 1) + F (n - 2),
By convention F(0) = 0, and F(1) = 1.
An alternative formula that uses the Golden
Ratio can also be used:
F(n) = (PHI^n - phi^n)/sqrt(5) [Lucas'
formula],
where PHI = (1 + sqrt(5))/2 is the Golden Ratio,
and
phi = (1 - sqrt(5))/2 is its reciprocal
Requires Math_Integer, and can be used with big
integers if the GMP or
the BCMATH libraries are present.
EOF
source $SECTION_DIRECTORY/PEAR_DETAILS