Math Related : Improved Fibonacci Sequence
General
This script displays a Fibonacci sequence up to a certain number of calculations. It uses a lookup array to offset the large, recursive calculations needed to calculate large numbers, and is not too processor intensive. It is precise to 32 bits (78 iterations), after which the JavaScript interpreter rolls bits over.
Computations:
Notes
- Created by: Ben Clarke
- Web Site: http://benclarke.ca/
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: impFibonacciSeq.js
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(0 comments)