lapy2(3)

lapy23

Lapy2: robust sqrt( x^2 + y^2 )

Usage

Functions

double precision function dlapy2 (x, y)
DLAPY2 returns sqrt(x2+y2). real function slapy2 (x, y)
SLAPY2 returns sqrt(x2+y2).

Detailed Description

Function Documentation

double precision function dlapy2 (double precision x, double precision y)

DLAPY2 returns sqrt(x2+y2).

Purpose:

!>
!> DLAPY2 returns sqrt(x**2+y**2), taking care not to cause unnecessary
!> overflow and unnecessary underflow.
!> 

Parameters

X

!>          X is DOUBLE PRECISION
!> 

Y

!>          Y is DOUBLE PRECISION
!>          X and Y specify the values x and y.
!> 

Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line 62 of file dlapy2.f.

real function slapy2 (real x, real y)

SLAPY2 returns sqrt(x2+y2).

Purpose:

!>
!> SLAPY2 returns sqrt(x**2+y**2), taking care not to cause unnecessary
!> overflow and unnecessary underflow.
!> 

Parameters

X

!>          X is REAL
!> 

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.

Definition at line 62 of file slapy2.f.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Author

Generated automatically by Doxygen for LAPACK from the source code.

From lapack-doc 3.12.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.