Atan

From M.U.G.E.N Wiki

Jump to: navigation, search



Trigger: Atan (math)

Computes the arctangent (in radians) of the specified argument.

Format:
atan(exprn)
Arguments:
exprn
Expression to compute the arctangent of (float).
Return type:
float
Error conditions:
Returns SFalse if exprn evaluates to SFalse.

Example:

value = atan(1)
  Sets value to the arccosine of 1, which is approximately pi/4
  (possibly with some rounding error.)


Personal tools