Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-6F3E6E06-DEE2-48FB-852A-915E36A33A64
Visible to Intel only — GUID: GUID-6F3E6E06-DEE2-48FB-852A-915E36A33A64
?lapy2
Returns sqrt(x2+y2).
val = slapy2( x, y )
val = dlapy2( x, y )
- mkl.fi
The function ?lapy2 returns sqrt(x2+y2), avoiding unnecessary overflow or harmful underflow.
The data types are given for the Fortran interface.
- x, y
-
REAL for slapy2
DOUBLE PRECISION for dlapy2
Specify the input values x and y.
- val
-
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.