Documentación offline JavaScript main

Math.asinh()

main Documentación oficial Licencia CC-BY-SA-2.5Descargado el 2026-08-02

En esta página

The Math.asinh() static method returns the inverse hyperbolic sine of a number. That is,

𝙼𝚊𝚝𝚑.𝚊𝚜𝚒𝚗𝚑(𝚡)=arsinh(x)=the unique y such that sinh(y)=x=ln(x+x2+1)\begin{aligned}\mathtt{\operatorname{Math.asinh}(x)} &= \operatorname{arsinh}(x) = \text{the unique } y \text{ such that } \sinh(y) = x \\&= \ln\left(x + \sqrt{x^2 + 1}\right)\end{aligned}

{{InteractiveExample("JavaScript Demo: Math.asinh()")}}

```js interactive-example console.log(Math.asinh(1)); // Expected output: 0.881373587019543

console.log(Math.asinh(0)); // Expected output: 0

console.log(Math.asinh(-1)); // Expected output: -0.881373587019543

console.log(Math.asinh(2)); // Expected output: 1.4436354751788103

## Syntax

```js-nolint
Math.asinh(x)

Parameters#

  • x
  • : A number.

Return value#

The inverse hyperbolic sine of x.

Description#

Because asinh() is a static method of Math, you always use it as Math.asinh(), rather than as a method of a Math object you created (Math is not a constructor).

Examples#

Using Math.asinh()#

Math.asinh(-Infinity); // -Infinity
Math.asinh(-1); // -0.881373587019543
Math.asinh(-0); // -0
Math.asinh(0); // 0
Math.asinh(1); // 0.881373587019543
Math.asinh(Infinity); // Infinity

Specifications#

{{Specifications}}

Browser compatibility#

{{Compat}}

See also#