delorie.com/djgpp/doc/libc/libc_804.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

tanh

Syntax

 
#include <math.h>

double tanh(double x);

Description

This function computes the hyperbolic tangent of x.

Return Value

The hyperbolic tangent of x. If x is either a positive or a negative infinity, the result is unity with the same sign as x, and errno is not changed. If x is NaN, the return value is NaN and errno is set to EDOM.

Portability

ANSI/ISO C C89; C99
POSIX 1003.2-1992; 1003.1-2001


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004