Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sqrt(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exp(3M)

sqrt(3F)

NAME

sqrt, dsqrt, csqrt, zsqrt, cdsqrt − Fortran square root intrinsic function

SYNOPSIS

real r1, r2
double precision dp1, dp2
complex cx1, cx2
double complex dx1, dx2

r2 = sqrt(r1)

dp2 = dsqrt(dp1)
dp2 = sqrt(dp1)

cx2 = csqrt(cx1)
cx2 = sqrt(cx1)

dx2 = cdsqrt(dx1)
dx2 = zsqrt(dx1)
dx2 = sqrt(dx1)

DESCRIPTION

sqrt returns the real square root of its real argument.  dsqrt returns the double-precision square root of its double-precision argument.  csqrt returns the complex square root of its complex argument.  zsqrt and cdsqrt return the double-precision complex square root of their double-precision complex argument.  sqrt, the generic form, will become dsqrt, csqrt or zsqrt as required by its argument type. 

SEE ALSO

exp(3M). 

CX/UX Hf77 Fortran Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026