Cos/ja

From M.U.G.E.N Wiki

< Cos
Jump to: navigation, search


This page is in progress of being translated to ja. You can help translating it or go to another language version that follows:



Trigger: Cos (math)

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

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

Example:

value = cos(0)
  Sets value to the cosine of 0, which is approximately 1.0
  (possibly with some rounding error.)


Personal tools