]>
Commit | Line | Data |
---|---|---|
fea681da | 1 | .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) |
5ef3a128 MK |
2 | .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk |
3 | .\" <mtk.manpages@gmail.com> | |
fea681da | 4 | .\" |
93015253 | 5 | .\" %%%LICENSE_START(VERBATIM) |
fea681da MK |
6 | .\" Permission is granted to make and distribute verbatim copies of this |
7 | .\" manual provided the copyright notice and this permission notice are | |
8 | .\" preserved on all copies. | |
9 | .\" | |
10 | .\" Permission is granted to copy and distribute modified versions of this | |
11 | .\" manual under the conditions for verbatim copying, provided that the | |
12 | .\" entire resulting derived work is distributed under the terms of a | |
13 | .\" permission notice identical to this one. | |
c13182ef | 14 | .\" |
fea681da MK |
15 | .\" Since the Linux kernel and libraries are constantly changing, this |
16 | .\" manual page may be incorrect or out-of-date. The author(s) assume no | |
17 | .\" responsibility for errors or omissions, or for damages resulting from | |
18 | .\" the use of the information contained herein. The author(s) may not | |
19 | .\" have taken the same level of care in the production of this manual, | |
20 | .\" which is licensed free of charge, as they might when working | |
21 | .\" professionally. | |
c13182ef | 22 | .\" |
fea681da MK |
23 | .\" Formatted or processed versions of this manual, if unaccompanied by |
24 | .\" the source, must acknowledge the copyright and authors of this work. | |
4b72fb64 | 25 | .\" %%%LICENSE_END |
fea681da MK |
26 | .\" |
27 | .\" References consulted: | |
28 | .\" Linux libc source code | |
29 | .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) | |
30 | .\" 386BSD man pages | |
31 | .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu) | |
32 | .\" Modified 2002-07-27 by Walter Harms | |
33 | .\" (walter.harms@informatik.uni-oldenburg.de) | |
34 | .\" | |
4b8c67d9 | 35 | .TH ASINH 3 2017-09-15 "GNU" "Linux Programmer's Manual" |
fea681da MK |
36 | .SH NAME |
37 | asinh, asinhf, asinhl \- inverse hyperbolic sine function | |
38 | .SH SYNOPSIS | |
39 | .nf | |
40 | .B #include <math.h> | |
68e4db0a | 41 | .PP |
fea681da | 42 | .BI "double asinh(double " x ); |
fea681da | 43 | .BI "float asinhf(float " x ); |
c13182ef | 44 | .BI "long double asinhl(long double " x ); |
fea681da | 45 | .fi |
68e4db0a | 46 | .PP |
20c58d70 | 47 | Link with \fI\-lm\fP. |
68e4db0a | 48 | .PP |
cc4615cc MK |
49 | .in -4n |
50 | Feature Test Macro Requirements for glibc (see | |
51 | .BR feature_test_macros (7)): | |
52 | .in | |
68e4db0a | 53 | .PP |
cc4615cc | 54 | .ad l |
5ef3a128 | 55 | .BR asinh (): |
5744db3c | 56 | .RS 4 |
636ed4d5 MK |
57 | _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L |
58 | || _XOPEN_SOURCE\ >=\ 500 | |
cf7fa0a1 | 59 | .\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED |
e0a68e13 | 60 | || /* Since glibc 2.19: */ _DEFAULT_SOURCE |
636ed4d5 | 61 | || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE |
5744db3c | 62 | .RE |
dbfe9c70 | 63 | .PP |
cc4615cc MK |
64 | .BR asinhf (), |
65 | .BR asinhl (): | |
5744db3c | 66 | .RS 4 |
636ed4d5 | 67 | _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L |
e0a68e13 | 68 | || /* Since glibc 2.19: */ _DEFAULT_SOURCE |
636ed4d5 | 69 | || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE |
5744db3c | 70 | .RE |
cc4615cc | 71 | .ad b |
fea681da | 72 | .SH DESCRIPTION |
5600f73a | 73 | These functions calculate the inverse hyperbolic sine of |
022671eb MK |
74 | .IR x ; |
75 | that is the value whose hyperbolic sine is | |
76 | .IR x . | |
47297adb | 77 | .SH RETURN VALUE |
5ef3a128 MK |
78 | On success, these functions return the inverse hyperbolic sine of |
79 | .IR x . | |
847e0d88 | 80 | .PP |
5ef3a128 MK |
81 | If |
82 | .I x | |
83 | is a NaN, a NaN is returned. | |
847e0d88 | 84 | .PP |
5ef3a128 MK |
85 | If |
86 | .I x | |
87 | is +0 (\-0), +0 (\-0) is returned. | |
847e0d88 | 88 | .PP |
5ef3a128 MK |
89 | If |
90 | .I x | |
91 | is positive infinity (negative infinity), | |
92 | positive infinity (negative infinity) is returned. | |
93 | .\" | |
94 | .\" POSIX.1-2001 documents an optional range error for subnormal x; | |
95 | .\" glibc 2.8 does not do this. | |
96 | .SH ERRORS | |
97 | No errors occur. | |
a5398d89 | 98 | .SH ATTRIBUTES |
3d90310b MK |
99 | For an explanation of the terms used in this section, see |
100 | .BR attributes (7). | |
101 | .TS | |
102 | allbox; | |
103 | lbw27 lb lb | |
104 | l l l. | |
105 | Interface Attribute Value | |
106 | T{ | |
a5398d89 PH |
107 | .BR asinh (), |
108 | .BR asinhf (), | |
a5398d89 | 109 | .BR asinhl () |
3d90310b MK |
110 | T} Thread safety MT-Safe |
111 | .TE | |
47297adb | 112 | .SH CONFORMING TO |
9a74e018 | 113 | C99, POSIX.1-2001, POSIX.1-2008. |
847e0d88 | 114 | .PP |
5ef3a128 MK |
115 | The variant returning |
116 | .I double | |
117 | also conforms to | |
7cada58c | 118 | SVr4, 4.3BSD. |
47297adb | 119 | .SH SEE ALSO |
fea681da MK |
120 | .BR acosh (3), |
121 | .BR atanh (3), | |
36268806 | 122 | .BR casinh (3), |
fea681da MK |
123 | .BR cosh (3), |
124 | .BR sinh (3), | |
125 | .BR tanh (3) |