SQRT(3F)SQRT(3F)NAME
sqrt, dsqrt, qsqrt, csqrt, zsqrt, cqsqrt - FORTRAN square root intrinsic
function
SYNOPSIS
real r1, r2
double precision dp1, dp2
real*16 qp1, qp2
complex cx1, cx2
complex*16 cd1, cd2
complex*32 cq1, cq2
r2 = sqrt(r1)
dp2 = dsqrt(dp1)
dp2 = sqrt(dp1)
qp2 = qsqrt(qp1)
qp2 = sqrt(qp1)
cx2 = csqrt(cx1)
cx2 = sqrt(cx1)
cd2 = zsqrt(cd1)
cd2 = sqrt(cd1)
cq2 = cqsqrt(cq1)
cq2 = sqrt(cq1)DESCRIPTION
sqrt returns the real square root of its real argument. dsqrt returns
the double-precision square root of its double-precision argument. qsqrt
returns the real*16 square root of its real*16 argument. The value of
the argument of sqrt, dsqrt, and qsqrt must be greater than or equal to
zero.
csqrt returns the complex square root of its complex argument. The
result of csqrt is the principle value with the real part greater than or
equal to zero. When the real part is zero, the imaginary part is greater
than or equal to zero.
zsqrt returns the complex*16 square root of its complex*16 argument.
cqsqrt returns the complex*32 square root of its complex*32 argument.
sqrt, the generic form, will become dsqrt, qsqrt, csqrt, zsqrt, or cqsqrt
as required by its argument type.
SEE ALSOexp(3M).
Page 1