asinhd32(), asinhd64(), asinhd128() - Calculate hyperbolic arcsine

Standards

Standards / Extensions C or C++ Dependencies

C/C++ DFP

both z/OS® V1.10

Format

#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 */

General description

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.

Note: To use IEEE decimal floating-point, the hardware must have the Decimal Floating-Point Facility installed.

Returned value

asinhd() returns the hyperbolic arcsine of its argument x. The function is always successful.

Example

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);
}

Related information