1ACOSH(3)                   Linux Programmer's Manual                  ACOSH(3)
2
3
4

NAME

6       acosh, acoshf, acoshl - inverse hyperbolic cosine function
7

SYNOPSIS

9       #include <math.h>
10
11       double acosh(double x);
12       float acoshf(float x);
13       long double acoshl(long double x);
14
15       Link with -lm.
16
17   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
18
19       acosh(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 500 ||
20       _ISOC99_SOURCE; or cc -std=c99
21       acoshf(), acoshl(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600
22       || _ISOC99_SOURCE; or cc -std=c99
23

DESCRIPTION

25       The  acosh()  function  calculates  the inverse hyperbolic cosine of x;
26       that is the value whose hyperbolic cosine is x.
27

RETURN VALUE

29       On success, these functions return the inverse hyperbolic cosine of x.
30
31       If x is a NaN, a NaN is returned.
32
33       If x is +1, +0 is returned.
34
35       If x is positive infinity, positive infinity is returned.
36
37       If x is less than 1, a domain error occurs, and the functions return  a
38       NaN.
39

ERRORS

41       See  math_error(7) for information on how to determine whether an error
42       has occurred when calling these functions.
43
44       The following errors can occur:
45
46       Domain error: x is less than 1
47              errno is set  to  EDOM.   An  invalid  floating-point  exception
48              (FE_INVALID) is raised.
49

CONFORMING TO

51       C99, POSIX.1-2001.  The variant returning double also conforms to SVr4,
52       4.3BSD, C89.
53

SEE ALSO

55       asinh(3), atanh(3), cacosh(3), cosh(3), sinh(3), tanh(3)
56

COLOPHON

58       This page is part of release 3.22 of the Linux  man-pages  project.   A
59       description  of  the project, and information about reporting bugs, can
60       be found at http://www.kernel.org/doc/man-pages/.
61
62
63
64                                  2008-08-05                          ACOSH(3)
Impressum