?lapy2
?lapy2
Returns
sqrt(
.x
2
+y
2
)Syntax
float
LAPACKE_slapy2
(
float
x
,
float
y
);
double
LAPACKE_dlapy2
(
double
x
,
double
y
);
Include Files
- mkl.h
Description
The function +y), avoiding unnecessary overflow or harmful underflow.
?lapy2
returns sqrt
(x2
2
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 valuesxandy.
Return Values
The function returns a value
val
.If , the first argument was NaN.
val
=-1D0If , the second argument was NaN.
val
=-2D0