**Complex Numbers**

If complex mode()is selected or

`OPTION ARITHMETIC COMPLEX`

is written in every program unit, complex numbers can be handled.

Complex numbers are expressed as a pair of double precision binary floating point numbers.

An imaginary number is outputted in parenthesized form, however this form cannot be used for constants or inputs.

On a power operation, if the base is positive, the exponent can be a imaginary number. If the exponent is an integer of -2147483647 to 2147483647, the base can be an imaginary number.

The domains of functions ABS(z), SQR(z), EXP(z), and LOG(z) are expanded to complex numbers.

COMPLEX(x,y), RE(z), IM(z), CONJ(z), and ARG(z) are the functions only for complex mode.

Single complex values can be written in a PLOT Statement instead of coordinate pairs, while no PLOT statement is allowed to have both.

A single 1-dimensional array can be written in a MAT PLOT statement.

Graphic transform functions SCALE and SHIFT are extended to complex numbers.

Internal files does not support complex numbers. That is, if complex numbers are written to an internal file, they can not be read.