Fibo |
Description: | Short CAS program for Prime defining a function, called "fibo(n)", to compute the Fibonacci numbers F(n), for n spanning also to negative integer input. When used from CAS environment it provides exact integer results of F(n) also for large values of n. For example fibo(10000) gives a long integer having 2090 digits! In Home environment it gives exact integer output up to nY (12 digits) and floating point output for 60<=n<#94 (then it overflows). It uses an iterative loop, less elegant than recursive definition, but still quite efficient. |
Filename: | fibo.zip |
ID: | 9669 |
Current version: | 1.0 (Nov-2024) |
Author: | Mario Blasone |
Downloaded file size: | 2,255 bytes |
Size on calculator: | 5 KB |
Platforms: | Prime |
User rating: | Not yet rated (you must be logged in to vote) |
Primary category: | Math |
Languages: | ENG |
File date: | 2024-11-04 12:19:16 |
Creation date: | 2024-11-04 |
Source code: | Not included |
Download count: | 12 |
Version history: | 2024-12-29: Added to site
|
Archive contents: | Length Date Time Name
--------- ---------- ----- ----
5262 2024-11-04 11:20 fibo.hpprgm
1041 2024-11-04 12:19 fibo.txt
--------- -------
6303 2 files |
|
User comments: | No comments at this time. |
| You must be logged in to add your own comment. |