---
name: "dlapy2.f"
section: "3"
platform: "linux"
package: "lapack-doc"
version: "3.12.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/dlapy2.f"
---

# dlapy2.f(3)

## NAME

SRC/dlapy2.f

## SYNOPSIS

### Functions/Subroutines

double precision function **dlapy2** (x, y)\
 **DLAPY2** returns sqrt(x2+y2).

## Function/Subroutine 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**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
