---
name: "dlapy2"
section: "3lapack"
platform: "linux"
package: "liblapack-doc"
version: "3.2.1-8"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/dlapy2/3lapack"
---

# dlapy2(3lapack)

returns sqrt(x\*\*2+y\*\*2), taking care not to cause unnecessary overflow

## NAME

DLAPY2 - returns sqrt(x\*\*2+y\*\*2), taking care not to cause unnecessary overflow

## SYNOPSIS

- DOUBLE PRECISION

  FUNCTION DLAPY2( X, Y )

- DOUBLE

  PRECISION X, Y

## PURPOSE

DLAPY2 returns sqrt(x\*\*2+y\*\*2), taking care not to cause unnecessary overflow.

## ARGUMENTS

- X (input) DOUBLE PRECISION

  Y       (input) DOUBLE PRECISION X and Y specify the values x and y.
