[ Leksykon ] [ JavaScript ] [ Metody ] [ Właściwości ] [ Math() ]
Math.tanh()
[_] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]
Przykłady:
console.log(Math.tanh(-1)); // -0.7615941559557649
console.log(Math.tanh(1)); // 0.7615941559557649
console.log(Math.tanh(0)); // 0
console.log(Math.tanh(-0)); // -0
console.log(Math.tanh(Infinity)); // 1
console.log(Math.tanh(-Infinity)); // -1
Opis:
Metoda Math.tanh() statyczna zwraca tangens hiperboliczny liczby. Parametr liczba. Zwracana wartość tangens hiperboliczny parametru.
Linki:
Math.acosh()
Math.asinh()
Math.atanh()
Math.cosh()
Math.sinh()