Enter a purely imaginary number:
Even though there is no real part it has
Head Complex:
Enter a complex number using the
FullForm:
If the imaginary part is exactly zero, then the result is not
Complex:
Enter a complex number with machine-number real and imaginary parts:
It is considered to be a machine number when both its real and imaginary parts are machine numbers:
Enter a complex number with arbitrary-precision real and imaginary parts:
The precision is based on the error in the complex plane:
Enter a complex number with an exact real part and an approximate imaginary part:
The exactness is kept in computations when possible:
_Complex can be used to stand for a complex number in a pattern:
A rule that switches real and imaginary parts: