xref: /csrg-svn/lib/libm/common_source/tanh.3 (revision 61309)
1*61309Sbostic.\" Copyright (c) 1991, 1993
2*61309Sbostic.\"	The Regents of the University of California.  All rights reserved.
348924Scael.\"
448924Scael.\" %sccs.include.redist.man%
548924Scael.\"
6*61309Sbostic.\"     @(#)tanh.3	8.1 (Berkeley) 06/04/93
748924Scael.\"
848924Scael.Dd
948924Scael.Dt TANH 3
1048924Scael.Os
1148924Scael.Sh NAME
1248924Scael.Nm tanh
1348924Scael.Nd hyperbolic tangent function
1448924Scael.Sh SYNOPSIS
1548924Scael.Fd #include <math.h>
1648924Scael.Ft double
1748924Scael.Fn tanh "double x"
1848924Scael.Sh DESCRIPTION
1948924ScaelThe
2048924Scael.Fn tanh
2148924Scaelfunction computes the hyperbolic tangent of
2248924Scael.Fa x .
2348924ScaelFor a discussion of error due to roundoff, see
2448924Scael.Xr math 3 .
2548924Scael.Sh RETURN VALUES
2648924ScaelThe
2748924Scael.Fn tanh
2848924Scaelfunction returns the hyperbolic tangent value.
2948924Scael.Sh SEE ALSO
3048924Scael.Xr acos 3 ,
3148924Scael.Xr asin 3 ,
3248924Scael.Xr atan 3 ,
3348924Scael.Xr atan2 3 ,
3448924Scael.Xr cos 3 ,
3548924Scael.Xr cosh 3 ,
3648924Scael.Xr sin 3 ,
3748924Scael.Xr sinh 3 ,
3848924Scael.Xr tan 3 ,
3948924Scael.Xr math 3 ,
4048924Scael.Sh STANDARDS
4148924ScaelThe
4248924Scael.Fn tanh
4348924Scaelfunction conforms to
4448924Scael.St -ansiC .
45