math tanh for math

Returns the hyperbolic tangent of the number.

Signature

> math tanh

Input/output types:

inputoutput
list<number>list<number>
numbernumber

Examples

Apply the hyperbolic tangent to 10*π

> 3.141592 * 10 | math tanh | math round --precision 4
1

Tips: Command math tanh was not included in the official binaries by default, you have to build it with --features=extra flag