Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "math/base/special/fast/acosh/docs/types/index.d"

Index

Functions

Functions

acosh

  • acosh(x: number): number
  • Computes the hyperbolic arccosine of a number.

    Notes

    • The domain of x is restricted to [1,+infinity). If x < 1, the function will return NaN.

    Parameters

    • x: number

      input value

    Returns number

    hyperbolic arccosine (in radians)

    Example

    var v = acosh( 1.0 );
    // returns 0.0

    Example

    var v = acosh( 2.0 );
    // returns ~1.317

    Example

    var v = acosh( NaN );
    // returns NaN