69 DOUBLE PRECISION FUNCTION dlapy3( X, Y, Z )
77 DOUBLE PRECISION X, Y, Z
84 parameter ( zero = 0.0d0 )
87 DOUBLE PRECISION W, XABS, YABS, ZABS
90 INTRINSIC abs, max, sqrt
97 w = max( xabs, yabs, zabs )
102 dlapy3 = xabs + yabs + zabs
104 dlapy3 = w*sqrt( ( xabs / w )**2+( yabs / w )**2+
double precision function dlapy3(X, Y, Z)
DLAPY3 returns sqrt(x2+y2+z2).