RosettaCodeData/Task/Arithmetic-Complex/Oforth/arithmetic-complex-2.oforth

5 lines
98 B
Plaintext

2 3.2 I * + .cr
Complex new(2, 3) 1.2 + .cr
Complex new(2, 3) 1.2 * .cr
2 Complex new(2, 3) / .cr