Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hypot.bsd(3M) — Domain/IX SR9.2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exp(3M)

HYPOT(3M)

NAME

hypot, cabs − Euclidean distance

USAGE

#include <math.h>

double hypot(x, y)
double x, y;

double cabs(z)
struct { double x, y;} z;

DESCRIPTION

Hypot and cabs return

sqrt(x*x + y*y),

The functions include allowances for unwarranted overflows. 

RELATED INFORMATION

exp(3M) for sqrt

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026