atan2

Stack effect: ( a b -- n )

Find the arctangent of a/b.

This word is roughly equivalent to the traditional Forth word FATAN2. atan2 is used to emphasize the primary stack being floating point.

NOTE: In Haiku Forth (unlike Traditional Forth), all stack cells and memory locations are floating point numbers.

Examples:

Forth Haiku Glossary