Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

Export assignment atanh

  • atanh(x: number): number
  • Computes the hyperbolic arctangent of a number.

    Parameters

    • x: number

      input value

    Returns number

    hyperbolic arctangent

    Example

    var v = atanh( 0.0 );
    // returns 0.0

    Example

    var v = atanh( 0.9 );
    // returns ~1.472

    Example

    var v = atanh( 1.0 );
    // returns Infinity

    Example

    var v = atanh( -1.0 );
    // returns -Infinity

    Example

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