Reference: setComplexMode
setComplexMode(b) sets the complex mode to b, true or false. In complex mode, complex numbers are used by all functions. For instance, sqrt(-4) = 2i and arcsin(3) = 1.57079632679 − 1.76274717404⋅i. However, if not in complex mode (i.e., in real mode), these expressions are undefined.