Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exp(3)

HYPOT(3M)  —  System Interface Manual — Mathematical Functions

NAME

hypot, cabs − Euclidean distance

SYNOPSIS

#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),

taking precautions against unwarranted overflows. 

SEE ALSO

exp(3) for sqrt

Sun System Release 0.3  —  19 January 1983

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