NAME
hhyyppoott - euclidean distance function
SYNOPSIS
##iinncclluuddee <
double hhyyppoott(double x, double y); long double hhyyppoottll(long double x, long double y); float hhyyppoottff(float x, float y);> DESCRIPTION
The hhyyppoott() function computes the sqrt(x*x+y*y) without undue overflow or underflow. SSPPEECCIIAALL VVAALLUUEESShhyyppoott(x, y) , hhyyppoott(y, x) , and hhyyppoott(x, -y) are equivalent.
hhyyppoott(x, +-0) is equivalent to ffaabbss(x).
hhyyppoott(+-infinity, y) returns +infinity even if y is a NaN.
SEE ALSO
cabs(3), math(3), sqrt(3) STANDARDS The hhyyppoott() function conforms to ISO/IEC 9899:1999(E). 4th Berkeley Distribution January 28, 2003 4th Berkeley Distribution