## 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:

- 1 11 5 9 z* → -94 64
- 2dup z* → complex square

Forth Haiku Glossary