?lapy2

Returns sqrt(x2+y2).

Syntax

val = slapy2( x, y )

val = dlapy2( x, y )

Include Files

The FORTRAN 77 interfaces are specified in the mkl_lapack.fi include file (to be used in Fortran programs) and in the mkl_lapack.h include file (to be used in C programs).

Description

The function ?lapy2 returns sqrt(x2+y2), avoiding unnecessary overflow or harmful underflow.

Input Parameters

x, y

REAL for slapy2

DOUBLE PRECISION for dlapy2

Specify the input values x and y.

Output Parameters

val

REAL for slapy2

DOUBLE PRECISION for dlapy2.

Value returned by the function.


Submit feedback on this help topic

Copyright © 1994 - 2011, Intel Corporation. All rights reserved.