HYPOT

Section: Mathematical Library (3M)
Index Return to Main Contents
 

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 10:17:18 GMT, December 28, 2024