xref: /freebsd/lib/msun/man/atanh.3 (revision dc36d6f9bb1753f3808552f3afd30eda9a7b206a)
13a8617a8SJordan K. Hubbard.\" Copyright (c) 1985, 1991 Regents of the University of California.
23a8617a8SJordan K. Hubbard.\" All rights reserved.
33a8617a8SJordan K. Hubbard.\"
43a8617a8SJordan K. Hubbard.\" Redistribution and use in source and binary forms, with or without
53a8617a8SJordan K. Hubbard.\" modification, are permitted provided that the following conditions
63a8617a8SJordan K. Hubbard.\" are met:
73a8617a8SJordan K. Hubbard.\" 1. Redistributions of source code must retain the above copyright
83a8617a8SJordan K. Hubbard.\"    notice, this list of conditions and the following disclaimer.
93a8617a8SJordan K. Hubbard.\" 2. Redistributions in binary form must reproduce the above copyright
103a8617a8SJordan K. Hubbard.\"    notice, this list of conditions and the following disclaimer in the
113a8617a8SJordan K. Hubbard.\"    documentation and/or other materials provided with the distribution.
12fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors
133a8617a8SJordan K. Hubbard.\"    may be used to endorse or promote products derived from this software
143a8617a8SJordan K. Hubbard.\"    without specific prior written permission.
153a8617a8SJordan K. Hubbard.\"
163a8617a8SJordan K. Hubbard.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
173a8617a8SJordan K. Hubbard.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
183a8617a8SJordan K. Hubbard.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
193a8617a8SJordan K. Hubbard.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
203a8617a8SJordan K. Hubbard.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
213a8617a8SJordan K. Hubbard.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
223a8617a8SJordan K. Hubbard.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
233a8617a8SJordan K. Hubbard.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
243a8617a8SJordan K. Hubbard.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
253a8617a8SJordan K. Hubbard.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
263a8617a8SJordan K. Hubbard.\" SUCH DAMAGE.
273a8617a8SJordan K. Hubbard.\"
28998b640bSDavid Schultz.Dd June 9, 2013
293a8617a8SJordan K. Hubbard.Dt ATANH 3
30a307d598SRuslan Ermilov.Os
313a8617a8SJordan K. Hubbard.Sh NAME
327a15a32aSJordan K. Hubbard.Nm atanh ,
33998b640bSDavid Schultz.Nm atanhf ,
34998b640bSDavid Schultz.Nm atanhl
357a15a32aSJordan K. Hubbard.Nd inverse hyperbolic tangent functions
3664890443SBruce Evans.Sh LIBRARY
3764890443SBruce Evans.Lb libm
383a8617a8SJordan K. Hubbard.Sh SYNOPSIS
3932eef9aeSRuslan Ermilov.In math.h
403a8617a8SJordan K. Hubbard.Ft double
413a8617a8SJordan K. Hubbard.Fn atanh "double x"
427a15a32aSJordan K. Hubbard.Ft float
437a15a32aSJordan K. Hubbard.Fn atanhf "float x"
44998b640bSDavid Schultz.Ft long double
45998b640bSDavid Schultz.Fn atanhl "long double x"
463a8617a8SJordan K. Hubbard.Sh DESCRIPTION
473a8617a8SJordan K. HubbardThe
48998b640bSDavid Schultz.Fn atanh ,
49998b640bSDavid Schultz.Fn atanhf ,
50998b640bSDavid Schultzand
51998b640bSDavid Schultz.Fn atanhl
527a15a32aSJordan K. Hubbardfunctions compute the inverse hyperbolic tangent
533a8617a8SJordan K. Hubbardof the real
543a8617a8SJordan K. Hubbardargument
55*c5cbef2fSGordon Bergling.Fa x .
563a8617a8SJordan K. HubbardFor a discussion of error due to roundoff, see
573a8617a8SJordan K. Hubbard.Xr math 3 .
583a8617a8SJordan K. Hubbard.Sh RETURN VALUES
59998b640bSDavid SchultzThese functions
607a15a32aSJordan K. Hubbardreturn the inverse hyperbolic tangent of
61*c5cbef2fSGordon Bergling.Fa x
623a8617a8SJordan K. Hubbardif successful.
638e264694SDavid SchultzIf the argument has absolute value 1, a divide-by-zero exception
648e264694SDavid Schultzis raised and an infinity is returned.
658e264694SDavid SchultzIf
66*c5cbef2fSGordon Bergling.Fa |x|
671f8ee0e1SRuslan Ermilov> 1, an invalid exception is raised and an \*(Na is returned.
683a8617a8SJordan K. Hubbard.Sh SEE ALSO
693a8617a8SJordan K. Hubbard.Xr acosh 3 ,
703a8617a8SJordan K. Hubbard.Xr asinh 3 ,
713a8617a8SJordan K. Hubbard.Xr exp 3 ,
728e264694SDavid Schultz.Xr fenv 3 ,
733a8617a8SJordan K. Hubbard.Xr math 3
743a8617a8SJordan K. Hubbard.Sh HISTORY
753a8617a8SJordan K. HubbardThe
76998b640bSDavid Schultz.Fn atanh ,
77998b640bSDavid Schultz.Fn atanhf ,
78998b640bSDavid Schultzand
79998b640bSDavid Schultz.Fn atanhl
80998b640bSDavid Schultzfunctions appeared in
81998b640bSDavid Schultz.Bx 4.3 ,
82998b640bSDavid Schultz.Fx 2.0 ,
83998b640bSDavid Schultzand
84998b640bSDavid Schultz.Fx 10.0 ,
85998b640bSDavid Schultzrespectively.
86