Intel® oneAPI Math Kernel Library Developer Reference - Fortran
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.
The data types are given for the Fortran interface.
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.
If val=-1D0, the first argument was NaN.
If val=-2D0, the second argument was NaN.