Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  HYPOT(3M)                (Math Libraries)               HYPOT(3M)



  NAME
       hypot - Euclidean distance function

  SYNOPSIS
       #include <math.h>

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

  DESCRIPTION
       hypot returns

            sqrt(x * x + y * y),

       taking precautions against unwarranted overflows.

  SEE ALSO
       matherr(3M).

  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).

















  Page 1                                                   May 1989
















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