Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hypot(3M) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

matherr(3M)



     hypot(3M)                                               hypot(3M)



     NAME
          hypot - Euclidean distance function

     SYNOPSIS
          #include <math.h>

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

     DESCRIPTION
          hypot returns the following, taking precautions against
          unwarranted overflows:

               sqrt(x * x + y * y)

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

          These error-handling procedures may be changed with the
          function matherr(3M).

     SEE ALSO
          matherr(3M).































     Page 1                                        (last mod. 1/14/87)



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