1.12 Complex

Complex numbers are supported in KC3 through the Complex type and the +i infix operator.

1.12.1 Examples

ikc3> i = 0 +i 1
0 +i 1
ikc3> ii = i * i
-1 +i 0
ikc3> iii = i +i i
-1 +i 1
ikc3> type(i)
Complex