lapy2 - lapy2: robust sqrt( x^2 + y^2 )
Contents
Detailed Description
Function Documentation
doubleprecisionfunctiondlapy2(doubleprecisionx,doubleprecisiony)DLAPY2 returns sqrt(x2+y2).
Purpose:
DLAPY2 returns sqrt(x**2+y**2), taking care not to cause unnecessary
overflow and unnecessary underflow.
ParametersX
X is DOUBLE PRECISION
Y
Y is DOUBLE PRECISION
X and Y specify the values x and y.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
realfunctionslapy2(realx,realy)SLAPY2 returns sqrt(x2+y2).
Purpose:
SLAPY2 returns sqrt(x**2+y**2), taking care not to cause unnecessary
overflow and unnecessary underflow.
ParametersX
X is REAL
Y
Y is REAL
X and Y specify the values x and y.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Name
lapy2 - lapy2: robust sqrt( x^2 + y^2 )
Synopsis
Functions
double precision function dlapy2 (x, y)
DLAPY2 returns sqrt(x2+y2).
real function slapy2 (x, y)
SLAPY2 returns sqrt(x2+y2).
