Difference between revisions of "Log"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>DewiMorgan
m (debold; notes wasn't available in geck; note slow; add CS links.)
Line 9: Line 9:
   log x y  ''will return  log base y of x.''
   log x y  ''will return  log base y of x.''


==Examples==
None, yet.


==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.
*This function is new in the GECK, and was not available in the TES4 Construction Set. However, it was available through the OBSE script extender.


 
==See Also==
 
*[[Abs]]
=='''Examples'''==
*[[Cos]]
 
*[[Pow]]
 
*[[Sin]]
 
*[[Tan]]
=='''Notes'''==
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Acos Acos (OBSE function)]
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.
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Cos Cos (OBSE function)]
 
 
=='''See Also'''==
[[Sin]], [[Cos]], [[Tan]], [[Pow]] and [[Abs]]
 


=='''Reference'''==
=='''Reference'''==
 
None, yet.
 


[[Category:Functions]]
[[Category:Functions]]
[[Category:Math Functions]]
[[Category:Math Functions]]

Revision as of 12:19, 13 April 2009

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

None, yet.

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.
  • This function is new in the GECK, and was not available in the TES4 Construction Set. However, it was available through the OBSE script extender.

See Also

Reference

None, yet.