Log and LogE (Float functions)

From m204wiki
Revision as of 20:44, 20 October 2010 by JAL (talk | contribs) (Created page with "These intrinsic functions return a number that is the natural [http://en.wikipedia.org/wiki/Logarithm logarithm] (the logarithm base-''[http://en.wikipedia....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

These intrinsic functions return a number that is the natural logarithm (the logarithm base-e]) of the method object value.

LogE is a synonym for Log.

Available as of version 7.3 of the Sirius Mods, the Log and LogE functions are object-oriented versions of the $Log function.

Log syntax

  %value = number:log

Syntax terms

%value
A numeric variable to receive the log of the method object.
number
A Float value.

Usage Notes

  • If number is not greater than zero, the request is cancelled.

Examples

The following statement returns “3.14159:log = 1.14472904118518”.

   PrintText {~} = {3.14159:log}

See also

List of Intrinsic Float Methods