mathLib.tanh

系统函数 mathLib.tanh 返回数字的双曲正切。结果位于 -1 到 1 的范围内。


mathLib.tanh 语法图
result
任何数字或 HEX 项,如数学(系统字)中所述。mathLib.tanh 函数返回的值被转换为具有 result 的格式,并在 result 中返回。
numericItem
任何数字或 HEX 项,如数学(系统字)中所述。在计算 result 之前,该项被转换为双精度浮点。

示例

  result = mathLib.tanh(myItem);

相关参考
EGL 库 MathLib

使用条款 | 反馈
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.