opendarwin man page for hypot

Query: hypot

OS: opendarwin

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

HYPOT(3)						   BSD Library Functions Manual 						  HYPOT(3)

NAME
hypot -- euclidean distance function
SYNOPSIS
#include <math.h> double hypot(double x, double y);
DESCRIPTION
The hypot() function computes the sqrt(x*x+y*y) without undue overflow or underflow.
SPECIAL VALUES
hypot(x, y) , hypot(y, x) , and hypot(x, -y) are equivalent. hypot(x, +-0) is equivalent to fabs(x). hypot(+-infinity, y) returns +infinity even if y is a NaN.
SEE ALSO
cabs(3), math(3), sqrt(3)
STANDARDS
The hypot() function conforms to ISO/IEC 9899:1999(E). 4th Berkeley Distribution January 28, 2003 4th Berkeley Distribution
Related Man Pages
hypot(3m) - opensolaris
hypot(3) - netbsd
hypotf(3) - netbsd
fabs(3) - osf1
hypot(3) - osf1
Similar Topics in the Unix Linux Community
Grep float/integers but skip some integers
Join not working properly
Noob trying to improve
AIX version selection
Issue with events occuring in DST window