1ASINH(3P) POSIX Programmer's Manual ASINH(3P)
2
3
4
6 This manual page is part of the POSIX Programmer's Manual. The Linux
7 implementation of this interface may differ (consult the corresponding
8 Linux manual page for details of Linux behavior), or the interface may
9 not be implemented on Linux.
10
12 asinh, asinhf, asinhl - inverse hyperbolic sine functions
13
15 #include <math.h>
16
17 double asinh(double x);
18 float asinhf(float x);
19 long double asinhl(long double x);
20
21
23 These functions shall compute the inverse hyperbolic sine of their
24 argument x.
25
26 An application wishing to check for error situations should set errno
27 to zero and call feclearexcept(FE_ALL_EXCEPT) before calling these
28 functions. On return, if errno is non-zero or fetestexcept(FE_INVALID
29 | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW) is non-zero, an error has
30 occurred.
31
33 Upon successful completion, these functions shall return the inverse
34 hyperbolic sine of their argument.
35
36 If x is NaN, a NaN shall be returned.
37
38 If x is ±0, or ±Inf, x shall be returned.
39
40 If x is subnormal, a range error may occur and x should be returned.
41
43 These functions may fail if:
44
45 Range Error
46 The value of x is subnormal.
47
48 If the integer expression (math_errhandling & MATH_ERRNO) is non-zero,
49 then errno shall be set to [ERANGE]. If the integer expression
50 (math_errhandling & MATH_ERREXCEPT) is non-zero, then the underflow
51 floating-point exception shall be raised.
52
53
54 The following sections are informative.
55
57 None.
58
60 On error, the expressions (math_errhandling & MATH_ERRNO) and
61 (math_errhandling & MATH_ERREXCEPT) are independent of each other, but
62 at least one of them must be non-zero.
63
65 None.
66
68 None.
69
71 feclearexcept(), fetestexcept(), sinh(), the Base Definitions volume of
72 IEEE Std 1003.1-2001, Section 4.18, Treatment of Error Conditions for
73 Mathematical Functions, <math.h>
74
76 Portions of this text are reprinted and reproduced in electronic form
77 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
78 -- Portable Operating System Interface (POSIX), The Open Group Base
79 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
80 Electrical and Electronics Engineers, Inc and The Open Group. In the
81 event of any discrepancy between this version and the original IEEE and
82 The Open Group Standard, the original IEEE and The Open Group Standard
83 is the referee document. The original Standard can be obtained online
84 at http://www.opengroup.org/unix/online.html .
85
86
87
88IEEE/The Open Group 2003 ASINH(3P)