]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/asinh.3
acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, cabs.3, cacos.3, cacosh...
[thirdparty/man-pages.git] / man3 / asinh.3
CommitLineData
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.\"
fe0fefbf 35.TH ASINH 3 2015-03-02 "GNU" "Linux Programmer's Manual"
fea681da
MK
36.SH NAME
37asinh, asinhf, asinhl \- inverse hyperbolic sine function
38.SH SYNOPSIS
39.nf
40.B #include <math.h>
41.sp
42.BI "double asinh(double " x );
43.br
44.BI "float asinhf(float " x );
45.br
c13182ef 46.BI "long double asinhl(long double " x );
fea681da
MK
47.fi
48.sp
20c58d70 49Link with \fI\-lm\fP.
cc4615cc
MK
50.sp
51.in -4n
52Feature Test Macro Requirements for glibc (see
53.BR feature_test_macros (7)):
54.in
55.sp
56.ad l
5ef3a128 57.BR asinh ():
5744db3c
MK
58.RS 4
59_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
60_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
98dbe7af 61_POSIX_C_SOURCE\ >=\ 200112L;
5744db3c
MK
62.br
63or
5ef3a128 64.I cc\ -std=c99
5744db3c 65.RE
5ef3a128 66.br
cc4615cc
MK
67.BR asinhf (),
68.BR asinhl ():
5744db3c
MK
69.RS 4
70_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
a339ce43 71_POSIX_C_SOURCE\ >=\ 200112L;
5744db3c
MK
72.br
73or
cc4615cc 74.I cc\ -std=c99
5744db3c 75.RE
cc4615cc 76.ad b
fea681da 77.SH DESCRIPTION
60a90ecd
MK
78The
79.BR asinh ()
80function calculates the inverse hyperbolic sine of
022671eb
MK
81.IR x ;
82that is the value whose hyperbolic sine is
83.IR x .
47297adb 84.SH RETURN VALUE
5ef3a128
MK
85On success, these functions return the inverse hyperbolic sine of
86.IR x .
87
88If
89.I x
90is a NaN, a NaN is returned.
91
92If
93.I x
94is +0 (\-0), +0 (\-0) is returned.
95
96If
97.I x
98is positive infinity (negative infinity),
99positive infinity (negative infinity) is returned.
100.\"
101.\" POSIX.1-2001 documents an optional range error for subnormal x;
102.\" glibc 2.8 does not do this.
103.SH ERRORS
104No errors occur.
a5398d89 105.SH ATTRIBUTES
3d90310b
MK
106For an explanation of the terms used in this section, see
107.BR attributes (7).
108.TS
109allbox;
110lbw27 lb lb
111l l l.
112Interface Attribute Value
113T{
a5398d89
PH
114.BR asinh (),
115.BR asinhf (),
a5398d89 116.BR asinhl ()
3d90310b
MK
117T} Thread safety MT-Safe
118.TE
47297adb 119.SH CONFORMING TO
9a74e018 120C99, POSIX.1-2001, POSIX.1-2008.
e05e3635 121
5ef3a128
MK
122The variant returning
123.I double
124also conforms to
125SVr4, 4.3BSD, C89.
47297adb 126.SH SEE ALSO
fea681da
MK
127.BR acosh (3),
128.BR atanh (3),
36268806 129.BR casinh (3),
fea681da
MK
130.BR cosh (3),
131.BR sinh (3),
132.BR tanh (3)