Query: hypotl
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HYPOT(3) BSD Library Functions Manual HYPOT(3)NAMEhypot -- euclidean distance functionSYNOPSIS#include <math.h> double hypot(double x, double y); long double hypotl(long double x, long double y); float hypotf(float x, float y);DESCRIPTIONThe hypot() function computes the sqrt(x*x+y*y) without undue overflow or underflow.SPECIAL VALUEShypot(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 ALSOcabs(3), math(3), sqrt(3)STANDARDSThe hypot() function conforms to ISO/IEC 9899:2011. 4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution