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

- All Categories 24.5K
- Announcements & Guidelines 10
- Common Questions 30
- Using Processing 21.2K
- Programming Questions 11.7K
- Questions about Code 6K
- How To... 4.1K
- Hello Processing 71
- GLSL / Shaders 274
- Library Questions 3.8K
- Hardware, Integration & Other Languages 2.5K
- Kinect 637
- Arduino 986
- Raspberry PI 173
- Questions about Modes 1.8K
- Android Mode 1.2K
- JavaScript Mode 403
- Python Mode 180
- Questions about Tools 99
- Espanol 1
- Developing Processing 459
- Create & Announce Libraries 206
- Create & Announce Modes 17
- Create & Announce Tools 28
- Summer of Code 2018 14
- 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.4K
- p5.js Programming Questions 879
- p5.js Library Questions 292
- p5.js Development Questions 29
- General 1.4K
- Events & Opportunities 273
- General Discussion 363

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