跳转到内容

tanh, tanhf : 双曲正切

#include <math.h>
double tanh(double x);
float tanhf(float x);
```### 描述
tanh 计算参数 x 的双曲正切值。角度以弧度指定。tanh(x) 定义为
```text
sinh(x)/cosh(x)

tanhf 与之相同,区别仅在于它接受并返回 float 值。### 返回值

返回 x 的双曲正切值。


权威来源: BUSMASTER DITA help source tanh.dita, compiled into BUSMASTER.CHM with the application.