hypotd64(3M)hypotd64(3M)NAMEhypotd64(), hypotd128(), hypotd32() - decimal Euclidean distance func‐
tions
SYNOPSISDESCRIPTION
computes the square root of the sum of the squares of x and y, without
undue overflow or underflow.
is a version of it takes arguments and returns a result.
is a version of it takes arguments and returns a result.
These math functions are supported for HP-UX 11i Version 3 September
2008 Update and forward.
USAGE
To use any of these functions, compile with the option.
Make sure your program defines and then includes
Link in the math library by specifying or on the linking command line.
For more information, see the at the following site:
RETURN VALUE
and are equivalent.
is equivalent to
returns +infinity, even if y is NaN.
If one argument is NaN and the other is not returns NaN.
returns +infinity (or, in some non-default rounding direction modes,
the maximum finite number) in lieu of a value whose magnitude is too
large, and raises the overflow and inexact exceptions.
raises the underflow exception whenever a result is tiny (essentially
subnormal or zero) and inexact.
raises the inexact exception whenever a rounded result does not equal
the mathematical result.
ERRORS
If the correct value would overflow, sets to
SEE ALSOfabsd64(3M), sqrtd64(3M), math(5).
STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the pro‐
gramming language C to support decimal floating-point arithmetic".
HP Integrity Server Only hypotd64(3M)