
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
Short: | A simple CLI program to calculate Fibonacci\'s numbers, v1.2 |
Author: | palaste cc.helsinki.fi (Joona Palaste) |
Uploader: | palaste cc helsinki fi (Joona Palaste) |
Type: | misc/math |
Architecture: | m68k-amigaos |
Date: | 1999-06-09 |
Replaces: | misc/math/Fibonacci* |
Download: | misc/math/Fibonacci.lha - View contents | Readme: | misc/math/Fibonacci.readme |
Downloads: | 491 |
|
This simple program calculates Fibonacci's numbers. The numbers were invented
by the Italian mathematician Leonardo Fibonacci in the 13th century. The formula
is:
f(0)=1, f(1)=1, f(n+2)=f(n)+f(n+1), where n is a non-negative integer.
This program was written in C by me, Joona Palaste. It is Copyrighted by me, but
is freely distributable.
The program calculates any Fibonacci's number that can fit into your memory. If
you have many megabytes, you can calculate even the 20-millionth number,
providing you have the time. =) The result can be written either into StdOut or
into a file on disk.
This is version 1.2. Version 1.1 still displayed large Fibonacci's numbers too
short. This has now been fixed.
|
Contents of misc/math/Fibonacci.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 5656 8912 63.5% -lh5- ac93 Jun 8 1999 Fibonacci
[generic] 2168 4816 45.0% -lh5- cbb5 Jun 8 1999 Fibonacci.guide
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 2 files 7824 13728 57.0% Jun 9 1999
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |