Download MetaTrader 5

MathArctan

The function returns the arc tangent of x. If x is equal to 0, the function returns 0.

double  MathArctan(
   double  value      // tangent
   );

Parameters

value

[in]  A number representing a tangent.

Return Value

MathArctan returns a value within the range of -π/2 to π/2 radians.

Note

Instead of the MathArctan() function you can use atan().


Updated: 2015.12.03