2.0.0 • Published 2 years ago
tanh v2.0.0
tanh
Calculate the hyperbolic tangent of a number.
Example
const tanh = require('tanh');
tanh(1);
// => 0.7615941559557649Installation
$ npm install tanhAPI
const tanh = require('tanh');tanh(x)
Given a Number x, returns the hyperbolic tangent of x as a Number.