名前
tanh, tanhf, tanhl - 双曲線正接(ハイパボリックタンジェント)関数
書式
#include <math.h>
double tanh(double x);
float tanhf(float x);
long double tanhl(long double x);
-lm でリンクする。
説明
tanh() 関数は x の双曲線正接(ハイパボリックタンジェント)関数を 与える.数学的には sinh(x) / cosh(x) で定義されている.
準拠
SVr4, 4.3BSD, C89. float 版と long double 版は C99 の要求仕様である。