Tan

From M.U.G.E.N Wiki

Jump to: navigation, search



Trigger: Tan (math)

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

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

Example:

value = tan(pi/4)
  Sets value to the tangent of pi/4, which is approximately 1.0
  (possibly with some rounding error.)


Personal tools