MQL4 Reference Math Functions MathArcsin

MQL4 Help as One File:

MathArcsin

The function returns the arc sine of x within the range of -π/2 to π/2 radians.

double  MathArcsin(
   double  val      // -1<value<1
   );

Parameters

val

[in]   The val value between -1 and 1, the arc sine of which is to be calculated.

Return Value

Arc sine of the val number in radians within the range of -π/2 to π/2 radians. If val is less than -1 or more than 1, the function returns NaN (indeterminate value).

Note

Instead of the MathArcsin() function you can use asin().

See also

Real types (double, float)


 
This website uses cookies. Learn more about our Cookies Policy.