ACOSH 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

acoshf, acosh, acoshl, acoshw, acoshq, acoshll, acoshdf, acoshd, acoshdl, acoshdll - inverse hyperbolic cosine function

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern float acoshf (float x);

extern double acosh (double x);

extern long double acoshl (long double x);

extern __float80 acoshw (__float80 x);

extern __float128 acoshq (__float128 x);

extern long_long_double acoshll (long_long_double x);

extern decimal_float acoshdf (decimal_float x);

extern decimal_double acoshd (decimal_double x);

extern decimal_long_double acoshdl (decimal_long_double x);

extern decimal_long_long_double acoshdll (decimal_long_long_double x);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the inverse hyperbolic cosine. The value of x must be in the interval [1, Infinity].

RETURN VALUES

For in-range arguments, the returned value is in the range [+0,+Infinity], and Infinity is only possible if x is Infinity. Otherwise, the returned value is a quiet NaN.

ERRORS

For out-of-range, Infinity and NaN arguments, the returned value is a quiet NaN, and errno is set to EDOM.

SEE ALSO

asinh(3CW), atanh(3CW), cosh(3CW), sinh(3CW), sinhcosh(3CW), tanh(3CW).