Skip to content

KBE3D / KBCore / Cesium / Math / cosh

函数: cosh()

cosh(value: number): number

Returns the hyperbolic cosine of a number. The hyperbolic cosine of <strong>value</strong> is defined to be (<em>e<sup>x</sup> + e<sup>-x</sup></em>)/2.0 where <i>e</i> is Euler's number, approximately 2.71828183.

<p>Special cases: <ul> <li>If the argument is NaN, then the result is NaN.</li>

\<li\>If the argument is infinite, then the result is positive infinity.\</li\>

\<li\>If the argument is zero, then the result is 1.0.\</li\>

</ul> </p>

参数

value

number

The number whose hyperbolic cosine is to be returned.

返回

number

The hyperbolic cosine of value.

KBE3D @3.0.0 Copyright © 2024-present KBE3D