unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (v7man)
Page:
Section:
Apropos / Subsearch:
optional field

HYPOT(3M)                                                            HYPOT(3M)



NAME
       hypot, cabs - euclidean distance

SYNOPSIS
       #include <&lt;math.h>&gt;

       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



                                                                     HYPOT(3M)