Math.asinh()

La fonction Math.asinh() renvoie l'arc sinus hyperbolique d'un nombre :

Math.asinh ( x ) = arsinh ( x ) = le seul y tel que sinh ( y ) = x \mathtt{\operatorname{Math.asinh}(x)} = \operatorname{arsinh}(x) = \text{ the unique } ; y ; \text{such that} ; \sinh(y) = x

Exemple interactif

Syntaxe

js
Math.asinh(x);

Paramètres

x

Un nombre.

Valeur de retour

L'arc sinus hyperbolique du nombre passé en argument.

Description

asinh() étant une méthode statique de Math, elle doit toujours être utilisée avec la syntaxe Math.asinh() et ne doit pas être appelée depuis un autre objet qui aurait été créé (Math n'est pas un constructeur).

Exemple

Utiliser Math.asinh()

js
Math.asinh =
  Math.asinh ||
  function (x) {
    if (x === -Infinity) {
      return x;
    } else {
      return Math.log(x + Math.sqrt(x * x + 1));
    }
  };

Spécifications

Specification
ECMAScript Language Specification
# sec-math.asinh

Compatibilité des navigateurs

BCD tables only load in the browser

Voir aussi