xref: /freebsd/lib/msun/man/atanh.3 (revision 3a8617a83f16ffc9db4f96e1f0f21af94078e6b1)
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.
123a8617a8SJordan K. Hubbard.\" 3. All advertising materials mentioning features or use of this software
133a8617a8SJordan K. Hubbard.\"    must display the following acknowledgement:
143a8617a8SJordan K. Hubbard.\"	This product includes software developed by the University of
153a8617a8SJordan K. Hubbard.\"	California, Berkeley and its contributors.
163a8617a8SJordan K. Hubbard.\" 4. Neither the name of the University nor the names of its contributors
173a8617a8SJordan K. Hubbard.\"    may be used to endorse or promote products derived from this software
183a8617a8SJordan K. Hubbard.\"    without specific prior written permission.
193a8617a8SJordan K. Hubbard.\"
203a8617a8SJordan K. Hubbard.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
213a8617a8SJordan K. Hubbard.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
223a8617a8SJordan K. Hubbard.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
233a8617a8SJordan K. Hubbard.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
243a8617a8SJordan K. Hubbard.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
253a8617a8SJordan K. Hubbard.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
263a8617a8SJordan K. Hubbard.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
273a8617a8SJordan K. Hubbard.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
283a8617a8SJordan K. Hubbard.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
293a8617a8SJordan K. Hubbard.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
303a8617a8SJordan K. Hubbard.\" SUCH DAMAGE.
313a8617a8SJordan K. Hubbard.\"
323a8617a8SJordan K. Hubbard.\"     from: @(#)atanh.3	5.2 (Berkeley) 5/6/91
333a8617a8SJordan K. Hubbard.\"	$Id: atanh.3,v 1.4 1993/10/29 22:57:24 jtc Exp $
343a8617a8SJordan K. Hubbard.\"
353a8617a8SJordan K. Hubbard.Dd May 6, 1991
363a8617a8SJordan K. Hubbard.Dt ATANH 3
373a8617a8SJordan K. Hubbard.Os BSD 4.3
383a8617a8SJordan K. Hubbard.Sh NAME
393a8617a8SJordan K. Hubbard.Nm atanh
403a8617a8SJordan K. Hubbard.Nd inverse hyperbolic tangent function
413a8617a8SJordan K. Hubbard.Sh SYNOPSIS
423a8617a8SJordan K. Hubbard.Fd #include <math.h>
433a8617a8SJordan K. Hubbard.Ft double
443a8617a8SJordan K. Hubbard.Fn atanh "double x"
453a8617a8SJordan K. Hubbard.Sh DESCRIPTION
463a8617a8SJordan K. HubbardThe
473a8617a8SJordan K. Hubbard.Fn  atanh
483a8617a8SJordan K. Hubbardfunction computes the inverse hyperbolic tangent
493a8617a8SJordan K. Hubbardof the real
503a8617a8SJordan K. Hubbardargument
513a8617a8SJordan K. Hubbard.Ar x .
523a8617a8SJordan K. HubbardFor a discussion of error due to roundoff, see
533a8617a8SJordan K. Hubbard.Xr math 3 .
543a8617a8SJordan K. Hubbard.Sh RETURN VALUES
553a8617a8SJordan K. HubbardThe
563a8617a8SJordan K. Hubbard.Fn atanh
573a8617a8SJordan K. Hubbardfunction
583a8617a8SJordan K. Hubbardreturns the inverse hyperbolic tangent of
593a8617a8SJordan K. Hubbard.Ar x
603a8617a8SJordan K. Hubbardif successful.
613a8617a8SJordan K. HubbardOn the
623a8617a8SJordan K. Hubbard.Tn VAX
633a8617a8SJordan K. Hubbardand
643a8617a8SJordan K. Hubbard.Tn Tahoe ,
653a8617a8SJordan K. Hubbardif the argument has absolute value
663a8617a8SJordan K. Hubbardbigger than or equal to 1,
673a8617a8SJordan K. Hubbard.Fn atanh
683a8617a8SJordan K. Hubbardsets the global variable
693a8617a8SJordan K. Hubbard.Va errno
703a8617a8SJordan K. Hubbardto
713a8617a8SJordan K. Hubbard.Er EDOM
723a8617a8SJordan K. Hubbardand
733a8617a8SJordan K. Hubbarda reserved operand fault is generated.
743a8617a8SJordan K. Hubbard.Sh SEE ALSO
753a8617a8SJordan K. Hubbard.Xr acosh 3 ,
763a8617a8SJordan K. Hubbard.Xr asinh 3 ,
773a8617a8SJordan K. Hubbard.Xr exp 3 ,
783a8617a8SJordan K. Hubbard.Xr infnan 3 ,
793a8617a8SJordan K. Hubbard.Xr math 3
803a8617a8SJordan K. Hubbard.Sh HISTORY
813a8617a8SJordan K. HubbardThe
823a8617a8SJordan K. Hubbard.Fn atanh
833a8617a8SJordan K. Hubbardfunction appeared in
843a8617a8SJordan K. Hubbard.Bx 4.3 .
85