hpux man page for hypot

Query: hypot

OS: hpux

Section: 3m

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

hypot(3M)																 hypot(3M)

NAME
hypotf(), hypotl(), hypotw(), hypotq() - Euclidean distance functions
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
computes the square root of the sum of the squares of x and y, without undue overflow or underflow. Integrity Server Only is a version of it takes arguments and returns a result. is a version of it takes arguments and returns a result. is an version of it takes arguments and returns an result. is equivalent to on HP-UX systems.
USAGE
To use any of these functions, compile either with the default option or with the and options. To use (for Integrity servers) or compile also with the option. Make sure your program includes Link in the math library by specifying on the compiler or linker command line.
RETURN VALUE
and are equivalent. is equivalent to returns +Inf, even if y is a NaN. If both arguments are NaNs, then returns a NaN. returns infinity in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions. raises the underflow and inexact exceptions whenever a result is tiny (essentially denormal or zero) and thereby suffers loss of accuracy, and may raise those exceptions if the result is merely tiny. raises the inexact exception whenever a rounded result does not equal the mathematical result.
ERRORS
No errors are defined.
SEE ALSO
cabs(3M), fabs(3M), sqrt(3M), math(5).
STANDARDS CONFORMANCE
: SVID3, XPG4.2, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') : ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') hypot(3M)
Related Man Pages
exp2(3m) - hpux
exp2f(3m) - hpux
exp2w(3m) - hpux
ldexp(3m) - hpux
ldexpw(3m) - hpux
Similar Topics in the Unix Linux Community
Is C worth the effort?
Question regarding tar command.
AIX version selection
Issue with events occuring in DST window