atanhd64.3m (2010 09)

a
atanhd64(3M) atanhd64(3M)
(HP Integrity Server Only)
NAME
atanhd64(), atanhd128(), atanhd32() - decimal arc hyperbolic tangent functions
SYNOPSIS
#define __STDC_WANT_DEC_FP__
#include <math.h>
_Decimal64 atanhd64(_Decimal64 x);
_Decimal128 atanhd128(_Decimal128 x);
_Decimal32 atanhd32(_Decimal32 x);
DESCRIPTION
atanhd64() returns the arc hyperbolic tangent of x.
atanhd128() is a _Decimal128 version of atanhd64(); it takes a
_Decimal128 argument and
returns a
_Decimal128 result.
atanhd32() is a _Decimal32 version of atanhd64(); it takes a
_Decimal32 argument and
returns a
_Decimal32 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
+decfp option.
Make sure your program defines
__STDC_WANT_DEC_FP__
and then includes <math.h>.
Link in the math library by specifying
-lm or -l:libm.a on the linking command line.
For more information, see the HP-UX floating-point guide for HP Integrity servers at the following site:
http://www.hp.com/go/fp
.
RETURN VALUE
atanhd64(±0) returns ±0.
atanhd64(±1) returns ±infinity and raises the divide-by-zero floating-point exception.
If |x|>1,
atanhd64() returns NaN and raises the invalid exception.
If x is NaN,
atanhd64() returns NaN.
atanhd64() raises the underflow exception whenever a result is tiny (essentially subnormal or zero)
and inexact.
atanhd64() raises the inexact exception whenever a rounded result does not equal the mathematical
result.
ERRORS
If |x|>1,
atanhd64() sets errno to [EDOM].
SEE ALSO
acoshd64(3M), asinhd64(3M), coshd64(3M), sinhd64(3M), tanhd64(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-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)