LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Files Functions Typedefs Macros
slapy2.f File Reference

Go to the source code of this file.

Functions/Subroutines

real function slapy2 (X, Y)
 SLAPY2 returns sqrt(x2+y2). More...
 

Function/Subroutine Documentation

real function slapy2 ( real  X,
real  Y 
)

SLAPY2 returns sqrt(x2+y2).

Download SLAPY2 + dependencies [TGZ] [ZIP] [TXT]

Purpose:
 SLAPY2 returns sqrt(x**2+y**2), taking care not to cause unnecessary
 overflow.
Parameters
[in]X
          X is REAL
[in]Y
          Y is REAL
          X and Y specify the values x and y.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
September 2012

Definition at line 64 of file slapy2.f.