]>
Commit | Line | Data |
---|---|---|
a1eaacb1 | 1 | '\" t |
fea681da | 2 | .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) |
5ef3a128 MK |
3 | .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk |
4 | .\" <mtk.manpages@gmail.com> | |
fea681da | 5 | .\" |
5fbde956 | 6 | .\" SPDX-License-Identifier: Linux-man-pages-copyleft |
fea681da MK |
7 | .\" |
8 | .\" References consulted: | |
9 | .\" Linux libc source code | |
10 | .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) | |
11 | .\" 386BSD man pages | |
12 | .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu) | |
13 | .\" Modified 2002-07-27 by Walter Harms | |
14 | .\" (walter.harms@informatik.uni-oldenburg.de) | |
15 | .\" | |
4c1c5274 | 16 | .TH asinh 3 (date) "Linux man-pages (unreleased)" |
fea681da MK |
17 | .SH NAME |
18 | asinh, asinhf, asinhl \- inverse hyperbolic sine function | |
2af19291 AC |
19 | .SH LIBRARY |
20 | Math library | |
8fc3b2cf | 21 | .RI ( libm ", " \-lm ) |
fea681da MK |
22 | .SH SYNOPSIS |
23 | .nf | |
24 | .B #include <math.h> | |
68e4db0a | 25 | .PP |
fea681da | 26 | .BI "double asinh(double " x ); |
fea681da | 27 | .BI "float asinhf(float " x ); |
c13182ef | 28 | .BI "long double asinhl(long double " x ); |
fea681da | 29 | .fi |
68e4db0a | 30 | .PP |
d39ad78f | 31 | .RS -4 |
cc4615cc MK |
32 | Feature Test Macro Requirements for glibc (see |
33 | .BR feature_test_macros (7)): | |
d39ad78f | 34 | .RE |
68e4db0a | 35 | .PP |
5ef3a128 | 36 | .BR asinh (): |
9d2adbae | 37 | .nf |
5c10d2c5 MK |
38 | _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L |
39 | || _XOPEN_SOURCE >= 500 | |
40 | .\" || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED | |
9d2adbae | 41 | || /* Since glibc 2.19: */ _DEFAULT_SOURCE |
75c018a1 | 42 | || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE |
9d2adbae | 43 | .fi |
dbfe9c70 | 44 | .PP |
cc4615cc MK |
45 | .BR asinhf (), |
46 | .BR asinhl (): | |
9d2adbae | 47 | .nf |
5c10d2c5 | 48 | _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L |
9d2adbae | 49 | || /* Since glibc 2.19: */ _DEFAULT_SOURCE |
75c018a1 | 50 | || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE |
9d2adbae | 51 | .fi |
fea681da | 52 | .SH DESCRIPTION |
5600f73a | 53 | These functions calculate the inverse hyperbolic sine of |
022671eb MK |
54 | .IR x ; |
55 | that is the value whose hyperbolic sine is | |
56 | .IR x . | |
47297adb | 57 | .SH RETURN VALUE |
5ef3a128 MK |
58 | On success, these functions return the inverse hyperbolic sine of |
59 | .IR x . | |
847e0d88 | 60 | .PP |
5ef3a128 MK |
61 | If |
62 | .I x | |
63 | is a NaN, a NaN is returned. | |
847e0d88 | 64 | .PP |
5ef3a128 MK |
65 | If |
66 | .I x | |
67 | is +0 (\-0), +0 (\-0) is returned. | |
847e0d88 | 68 | .PP |
5ef3a128 MK |
69 | If |
70 | .I x | |
71 | is positive infinity (negative infinity), | |
72 | positive infinity (negative infinity) is returned. | |
73 | .\" | |
74 | .\" POSIX.1-2001 documents an optional range error for subnormal x; | |
75 | .\" glibc 2.8 does not do this. | |
76 | .SH ERRORS | |
77 | No errors occur. | |
a5398d89 | 78 | .SH ATTRIBUTES |
3d90310b MK |
79 | For an explanation of the terms used in this section, see |
80 | .BR attributes (7). | |
81 | .TS | |
82 | allbox; | |
c466875e | 83 | lbx lb lb |
3d90310b MK |
84 | l l l. |
85 | Interface Attribute Value | |
86 | T{ | |
9e54434e BR |
87 | .na |
88 | .nh | |
a5398d89 PH |
89 | .BR asinh (), |
90 | .BR asinhf (), | |
a5398d89 | 91 | .BR asinhl () |
3d90310b MK |
92 | T} Thread safety MT-Safe |
93 | .TE | |
c466875e | 94 | .sp 1 |
3113c7f3 | 95 | .SH STANDARDS |
4131356c AC |
96 | C11, POSIX.1-2008. |
97 | .SH HISTORY | |
98 | C99, POSIX.1-2001. | |
847e0d88 | 99 | .PP |
5ef3a128 MK |
100 | The variant returning |
101 | .I double | |
102 | also conforms to | |
7cada58c | 103 | SVr4, 4.3BSD. |
47297adb | 104 | .SH SEE ALSO |
fea681da MK |
105 | .BR acosh (3), |
106 | .BR atanh (3), | |
36268806 | 107 | .BR casinh (3), |
fea681da MK |
108 | .BR cosh (3), |
109 | .BR sinh (3), | |
110 | .BR tanh (3) |