Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hypot(3M) — sys5 — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought



HYPOT(3M)       DOMAIN/IX Reference Manual (SYS5)       HYPOT(3M)



NAME
     hypot - Euclidean distance function

USAGE
     #include <math.h>

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

DESCRIPTION
     Hypot returns

          sqrt(x * x + y * y),

     taking precautions against unwarranted overflows.

DIAGNOSTICS
     When the correct value would overflow, hypot returns HUGE
     and sets errno to ERANGE.




































Printed 5/10/85                                           HYPOT-1



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