atan2d64(3M) atan2d64(3M)
NAME
atan2d64(), atan2d128(), atan2d32() - decimal arctangent and quadrant functions
SYNOPSIS
DESCRIPTION
The function returns the arctangent of y/x, using the signs of both arguments to determine the quadrant of the return value.
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
If y and x is -0,
If y and x is +0,
If y and x is less than 0, returns
If y and x is greater than 0, returns
If y is less than 0 and x is 0, returns
If y is greater than 0 and x is 0, returns
If y is greater than 0 and x is -infinity, returns
If y is less than 0 and x is -infinity,
If y is greater than 0 and x is infinity, returns +0.
If y is less than 0 and x is infinity, returns -0.
If y and x is finite, returns
If y and x is -infinity, returns
If y and x is +infinity, returns
If x or y is NaN, returns NaN.
raises the inexact exception whenever a rounded result does not equal the mathematical result.
ERRORS
No errors are defined.
SEE ALSO
acosd64(3M), asind64(3M), atand64(3M), cosd64(3M), sind64(3M), tand64(3M), math(5).
STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic".
HP Integrity Server Only atan2d64(3M)