It looks like you're new here. If you want to get involved, click one of these buttons!

- All Categories 23.3K
- Announcements & Guidelines 9
- Common Questions 30
- Using Processing 20.2K
- Programming Questions 11.2K
- Questions about Code 5.7K
- How To... 4K
- Hello Processing 66
- GLSL / Shaders 260
- Library Questions 3.6K
- Hardware, Integration & Other Languages 2.4K
- Kinect 608
- Arduino 936
- Raspberry PI 161
- Questions about Modes 1.8K
- Android Mode 1.1K
- JavaScript Mode 388
- Python Mode 164
- Questions about Tools 99
- Espanol 1
- Developing Processing 432
- Create & Announce Libraries 203
- Create & Announce Modes 16
- Create & Announce Tools 27
- Rails Girls Summer of Code 2017 3
- Google Summer of Code 2017 49
- Summer of Code 2016 4
- Summer of Code 2015 40
- Summer of Code 2014 22
- p5.js 1.3K
- p5.js Programming Questions 787
- p5.js Library Questions 268
- p5.js Development Questions 29
- General 1.3K
- Events & Opportunities 259
- General Discussion 356

I am learning Forth with "Starting Forth" and "Thinking in Forth" books by Leo Brodie.

I need to visualize how works the stack...and then write a processing sketch.

Download

Features:

Scientific Calculator (RPN/Forth)

Features:

- 75 mathematical functions

- 8 cells display

- 4096 cells stack

- 5 memories

- Forth words to manage the stack (DUP, DROP, SWAP, ecc.)

- GDC, MCM, Factorize number

- Solve proportion

- Solve Linear System

- Solve quadratic and cubic equation (real and complex roots)

- Complex arithmetic

- Vector arithmetic

- Fraction arithmetic

- Polar Coord <-> Rect coord

- Number to Fraction Generator

- Combinations, Permutations

- Factorial, Fibonacci (BigInteger)

- Degrees Minutes Seconds <-> Decimal Degrees

- Sequence generator

- Statistical parameters of a serie

- Linear Regression

- Slope

- Time arithmetic

- Copy and Paste stack numbers

- Save and Load stack numbers

- Edit stack numbers with external text editor

- Infinity and NaN numbers

- Italian and English manual (60 pages)

- ...

Fast Fibonacci routine

Copyright (c) 2017 Project Nayuki

All rights reserved. Contact Nayuki for licensing.

https://www.nayuki.io/page/fast-fibonacci-algorithms

Press 'TAB' to see shortcuts.

Hints and bugs report are welcome.

cameyo

Tagged:

## Comments

Are you trying to create a Forth emulator?

No. It is only a calculator with an unlimited (almost) stack manipulable with Forth WORDS (dup, drop,...).

New functions:

- complex arithmetic

- time arithmetic

I'm working to solve some small bugs :)

The sketch is complete :)

I use it in my daily work.

Thanks for watching.

cameyo