Node: SqRt Intrinsic, Next: , Previous: Spread Intrinsic, Up: Table of Intrinsic Functions



SqRt Intrinsic

     SqRt(X)
     

SqRt: REAL or COMPLEX function, the exact type being that of argument X.

X: REAL or COMPLEX; scalar; INTENT(IN).

Intrinsic groups: (standard FORTRAN 77).

Description:

Returns the square root of X, which must not be negative.

To calculate and represent the square root of a negative number, complex arithmetic must be used. For example, SQRT(COMPLEX(X)).

The inverse of this function is SQRT(X) * SQRT(X).