Contents

?lapy3

Returns
sqrt(
x
2
+
y
2
+
z
2
)
.

Syntax

float
LAPACKE_slapy3
(
float
x
,
float
y
,
float
z
);
double
LAPACKE_dlapy3
(
double
x
,
double
y
,
double
z
);
Include Files
  • mkl.h
Description
The function
?lapy3
returns
sqrt
(
x
2
+
y
2
+
z
2
), 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
,
z
Specify the input values
x
,
y
and
z
.
Return Values
This function returns a value
val
.
If
val
= -1D0
, the first argument was NaN.
If
val
= -2D0
, the second argument was NaN.
If
val
= -3D0
, the third argument was NaN.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804