Returns sqrt(x2+y2).
val = slapy2( x, y )
val = dlapy2( x, y )
The function ?lapy2 returns sqrt(x2+y2), avoiding unnecessary overflow or harmful underflow.
REAL for slapy2
DOUBLE PRECISION for dlapy2
Specify the input values x and y.
REAL for slapy2
DOUBLE PRECISION for dlapy2.
Value returned by the function.