Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C/C++ DFP |
both | z/OS® V1.10 |
#define __STDC_WANT_DEC_FP__
#include <math.h>
_Decimal32 asinhd32(_Decimal32 x);
_Decimal64 asinhd64(_Decimal64 x);
_Decimal128 asinhd128(_Decimal128 x);
_Decimal32 asinh(_Decimal32 x); /* C++ only */
_Decimal64 asinh(_Decimal64 x); /* C++ only */
_Decimal128 asinh(_Decimal128 x); /* C++ only */
The asinhd() functions return the hyperbolic arcsine of its argument x.
These functions work in IEEE decimal floating-point format. See IEEE decimal floating-point for more information.
asinhd() returns the hyperbolic arcsine of its argument x. The function is always successful.
CELEBA14
⁄* CELEBA14
This example illustrates the asinhd32() function.
*⁄
#define __STDC_WANT_DEC_FP__
#include <math.h>
#include <stdio.h>
int main(void)
{
_Decimal32 x, y;
x = 1.0DF;
y = asinhd32(x);
printf("asinhd32(%Hf) = %Hf\n", x, y);
}