Download MetaTrader 5

MathTanh

Returns the hyperbolic tangent of the number.

double  MathTanh(
   double  value      // number
   );

Parameters

value

[in]  Value.

Return Value

The hyperbolic tangent of the number, value within the range of -1 to +1.

Note

Instead of the MathTanh() function you can use the tanh() function.

See also

Real types (double, float)


Updated: 2017.01.19