tanh, tanhf, tanhl - hyperbolic tangent function


   #include <math.h>

   double tanh(double x);
   float tanhf(float x);
   long double tanhl(long double x);

   Link with -lm.

   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

   tanhf(), tanhl():
       _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
           || /* Since glibc 2.19: */ _DEFAULT_SOURCE
           || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE


   These  functions  return  the hyperbolic tangent of x, which is defined
   mathematically as:

       tanh(x) = sinh(x) / cosh(x)


   On success, these functions return the hyperbolic tangent of x.

   If x is a NaN, a NaN is returned.

   If x is +0 (-0), +0 (-0) is returned.

   If x is positive infinity (negative infinity), +1 (-1) is returned.


   No errors occur.


   For  an  explanation  of  the  terms  used   in   this   section,   see

   Interface                 Attribute      Value   
   tanh(), tanhf(), tanhl()  Thread safety  MT-Safe 


   C99, POSIX.1-2001, POSIX.1-2008.

   The variant returning double also conforms to SVr4, 4.3BSD, C89.


   acosh(3), asinh(3), atanh(3), cosh(3), ctanh(3), sinh(3)


   This  page  is  part of release 4.09 of the Linux man-pages project.  A
   description of the project, information about reporting bugs,  and  the
   latest     version     of     this    page,    can    be    found    at

                              2016-03-15                           TANH(3)

More Linux Commands

yuvmedianfilter(1) - A filter for yuv images produced by the
yuvmedianfilter is designed to enhance/filter images. It takes the input from STDIN and writes output to STDOUT. This filter looks around the current point for

latin8(7) - ISO 8859-14 character set encoded in octal, deci
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-14 encodes the characters used in Celti

XvShmPutImage(3) - display an XvImage - Linux manual page...
XvPutImage(3) is similar to XPutImage(3). XvShmPutImage(3) is similar to XShmPutImage(3). The library will allocate the XvImage structure and fill out all field

csqrtf(3) - complex square root (Library - Linux man page)
Calculate the square root of a given complex number, with nonnegative real part, and with a branch cut along the negative real axis. (That means that csqrt(-1+e

Tcl_UniCharIsLower(3) - routines for classification of Tcl_U
All of the routines described examine Tcl_UniChars and return a boolean value. A non-zero return value means that the character does belong to the character cla

iso_8859_2(7) - ISO 8859-2 character set encoded in octal, d
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-2, the Latin Alphabet No. 2 is used to

extlinux(1) install the SYSLINUX bootloader on a ext2 ext3 f
EXTLINUX is a new syslinux derivative, which boots from a Linux ext2/ext3 filesystem. It works the same way as SYSLINUX, with a few slight modifications. It is

revpath(1) - generate a relative path that can be used to un
The revpath program prints out a relative path that is the reverse or inverse of path. Start with two directories top and bottom, with the latter below the form

racoon.conf(5) - configuration file for racoon (Man Page)...
racoon.conf is the configuration file for the racoon(8) ISAKMP daemon. racoon(8) negotiates security associations for itself (ISAKMP SA, or phase 1 SA) and for

curs_set(3ncurses) - low-level curses routines (Man Page)...
The following routines give low-level access to various curses capabilities. These routines typically are used inside library routines. The def_prog_mode and de

CPU_AND(3) - macros for manipulating CPU sets (Man Page)....
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented

msguniq(1) - unify duplicate translations in message catalog
Unifies duplicate translations in a translation catalog. Finds duplicate translations of the same message ID. Such duplicates are invalid input for other progra

We can't live, work or learn in freedom unless the software we use is free.