- Name: php-pear-Math_Fibonacci
- Version: 0.8
- Release: 18.mga7
- Epoch:
- Group: Development/PHP
- License: PHP License
- Url: http://pear.php.net/package/Math_Fibonacci/
- Summary: Package to calculat and manipulate Fibonacci numbers
- Architecture: noarch
- Size: 53588
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
Description:
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.
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables
- Cookie: localhost 1537363656
- Buildhost: localhost