REAL FUNCTION SQRT(X); REAL X
COMPLEX FUNCTION SQRT(X); COMPLEX X

Description

If X is real, it must not be negative.

If X is complex, the result is the principal value which has a real part that
is non-negative. If the real part is zero, the imaginary part is non-negative.