Ln/ja

From M.U.G.E.N Wiki

< Ln
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: Ln (math)

Returns the natural logarithm of its argument. This produces slightly more accurate results than the otherwise equivalent expression log(e,(argument)).

Format:
ln(exprn)
Arguments:
exprn
Expression to compute the natural logarithm of (float).
Return type:
float
Error conditions:
Returns SFalse if exprn evaluates to SFalse, or if exprn is not positive.

Example:

value = ln(time)
  Sets value to the natural logarithm of the player's statetime.


Personal tools