Acos

From M.U.G.E.N Wiki

Jump to: navigation, search



Trigger: Acos (math)

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

Format:
acos(exprn)
Arguments:
exprn
Expression to compute the arccosine of (float).
Return type:
float
Error conditions:
Returns SFalse if exprn evaluates to SFalse, or if exprn is not in the domain of arccosine (which is [-1.0,1.0]).

Example:

value = acos(1)
  Sets value to the arccosine of 1, which is approximately 0.0
  (possibly with some rounding error.)


Personal tools