Log

From the Fallout3 GECK Wiki
Revision as of 09:57, 26 November 2008 by imported>Kkuhlmann
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Log When given a number will return the natural log of that number. Alternatively, a base can be defined by a second number.

Syntax

 log x     will return ln x
 log x y  will return  log base y of x.



Examples

Notes

Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.


See Also

Sin, Cos, Tan, Pow and Abs


Reference