C Math cosh() 函数
定义和用法
cosh() 函数返回一个数的双曲余弦值。
双曲余弦值等于 (exp(number) + exp(-number)) / 2。
cosh() 函数定义在 <math.h> 头文件中。
语法
以下选项之一:
cosh(double number);
参数值
| 参数 | 描述 |
|---|---|
| number | 必需。指定一个数字。 |
技术细节
| 返回值: | 表示一个数的双曲余弦值的 double 值。 |
|---|
cosh() 函数返回一个数的双曲余弦值。
双曲余弦值等于 (exp(number) + exp(-number)) / 2。
cosh() 函数定义在 <math.h> 头文件中。
以下选项之一:
cosh(double number);
| 参数 | 描述 |
|---|---|
| number | 必需。指定一个数字。 |
| 返回值: | 表示一个数的双曲余弦值的 double 值。 |
|---|
