Sin

From M.U.G.E.N Wiki

Jump to: navigation, search



Trigger: Sin (math)

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

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

Example:

value = sin(pi/2)
  Sets value to the sine of pi/2, which is approximately 1.0
  (possibly with some rounding error.)


Personal tools