We are about to switch to a new forum software. Until then we have removed the registration on this forum.

- All Categories 25.7K
- Announcements & Guidelines 13
- Common Questions 30
- Using Processing 22.1K
- Programming Questions 12.2K
- Questions about Code 6.4K
- How To... 4.2K
- Hello Processing 72
- GLSL / Shaders 292
- Library Questions 4K
- Hardware, Integration & Other Languages 2.7K
- Kinect 661
- Arduino 1K
- Raspberry PI 187
- Questions about Modes 2K
- Android Mode 1.3K
- JavaScript Mode 413
- Python Mode 205
- Questions about Tools 100
- Espanol 5
- Developing Processing 548
- Create & Announce Libraries 211
- Create & Announce Modes 19
- Create & Announce Tools 29
- Summer of Code 2018 93
- Rails Girls Summer of Code 2017 3
- Summer of Code 2017 49
- Summer of Code 2016 4
- Summer of Code 2015 40
- Summer of Code 2014 22
- p5.js 1.6K
- p5.js Programming Questions 947
- p5.js Library Questions 315
- p5.js Development Questions 31
- General 1.4K
- Events & Opportunities 289
- General Discussion 365

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