Forth Easy · Lesson 8

Floating point: the float stack

Push floats with e-suffix literals, compute on the separate float stack with f+ f* f/, and print with f.

Lessons · Forth Easy · Lesson 8 of 10

Floating point: the float stack

Push floats with e-suffix literals, compute on the separate float stack with f+ f* f/, and print with f.

Illustration for Forth
Push floats with e-suffix literals, compute on the separate float stack with f+ f* f/, and print with f.