xref: /csrg-svn/lib/libm/common_source/tanh.3 (revision 48924)
1*48924Scael.\" Copyright (c) 1991 The Regents of the University of California.
2*48924Scael.\" All rights reserved.
3*48924Scael.\"
4*48924Scael.\" %sccs.include.redist.man%
5*48924Scael.\"
6*48924Scael.\"     @(#)tanh.3	5.1 (Berkeley) 05/02/91
7*48924Scael.\"
8*48924Scael.Dd
9*48924Scael.Dt TANH 3
10*48924Scael.Os
11*48924Scael.Sh NAME
12*48924Scael.Nm tanh
13*48924Scael.Nd hyperbolic tangent function
14*48924Scael.Sh SYNOPSIS
15*48924Scael.Fd #include <math.h>
16*48924Scael.Ft double
17*48924Scael.Fn tanh "double x"
18*48924Scael.Sh DESCRIPTION
19*48924ScaelThe
20*48924Scael.Fn tanh
21*48924Scaelfunction computes the hyperbolic tangent of
22*48924Scael.Fa x .
23*48924ScaelFor a discussion of error due to roundoff, see
24*48924Scael.Xr math 3 .
25*48924Scael.Sh RETURN VALUES
26*48924ScaelThe
27*48924Scael.Fn tanh
28*48924Scaelfunction returns the hyperbolic tangent value.
29*48924Scael.Sh SEE ALSO
30*48924Scael.Xr acos 3 ,
31*48924Scael.Xr asin 3 ,
32*48924Scael.Xr atan 3 ,
33*48924Scael.Xr atan2 3 ,
34*48924Scael.Xr cos 3 ,
35*48924Scael.Xr cosh 3 ,
36*48924Scael.Xr sin 3 ,
37*48924Scael.Xr sinh 3 ,
38*48924Scael.Xr tan 3 ,
39*48924Scael.Xr math 3 ,
40*48924Scael.Sh STANDARDS
41*48924ScaelThe
42*48924Scael.Fn tanh
43*48924Scaelfunction conforms to
44*48924Scael.St -ansiC .
45