Log: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''LOG''' internal function returns the natural logarithm of its argument. The argument must be a positive number. | '''LOG''' internal function returns the '''natural''' logarithm of its argument. This is like the '''LN(X)''' function in mathematics. Do not confuse the BR '''LOG''' with the mathematical LOG base 10. | ||
The argument must be a positive number. | |||
00010 print LOG(2.718) | 00010 print LOG(2.718) | ||
Line 6: | Line 8: | ||
0.999896 | 0.999896 | ||
00010 print LOG(-3) | |||
produces an error | |||
<noinclude> | <noinclude> | ||
[[Category:Internal Functions]] | [[Category:Internal Functions]] | ||
</noinclude> | </noinclude> |
Revision as of 20:05, 26 January 2012
LOG internal function returns the natural logarithm of its argument. This is like the LN(X) function in mathematics. Do not confuse the BR LOG with the mathematical LOG base 10.
The argument must be a positive number.
00010 print LOG(2.718)
produces the following output:
0.999896
00010 print LOG(-3)
produces an error