z*

Stack effect: ( a b c d -- a*c-b*d a*d+b*c )

Complex multiplication.

Haiku Forth specific word to multiple two complex numbers on the stack. Complex number are expected to be stored on the stack with the real part deeper in the stack (corresponding to real part first when pushing constants onto the stack.

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

Examples:

Forth Haiku Glossary