MatLab
Each "primitive" arithmetic value is a complex number, i.e., a pair of real numbers, known respectively as the real part and the imaginary part.
>> sqrt(-2)
ans =
0 + 1.4142i
A complex number with a zero imaginary part is displayed as a real number.
A complex number with a zero imaginary part and an integral real part is displayed as an integer.
Operators: + - .* ./ .^ < <= > >= == ~= & | ~
Example
>> sqrt(-2) + sqrt(2)
ans =
1.4142 + 1.4142i