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