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).
Syntax
float LAPACKE_slapy2 (floatx, floaty);
double LAPACKE_dlapy2 (doublex, doubley);
Include Files
- mkl.h
Description
The function ?lapy2 returns sqrt(x2+y2), avoiding unnecessary overflow or harmful underflow.
Input Parameters
A <datatype> placeholder, if present, is used for the C interface data types in the C interface section above. See C Interface Conventions for the C interface principal conventions and type definitions.
- x, y
-
Specify the input values x and y.
Return Values
The function returns a value val.
If val=-1D0, the first argument was NaN.
If val=-2D0, the second argument was NaN.