Difference between revisions of "LlLog"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
|func_id=265|func_sleep=0.0|func_energy=10.0 | |func_id=265|func_sleep=0.0|func_energy=10.0 | ||
|func=llLog|return_type=float|p1_type=float|p1_name=val | |func=llLog|return_type=float|p1_type=float|p1_name=val | ||
|func_footnote | |func_footnote=To get the base 10 logarithm use {{LSLG|llLog10}}. | ||
|func_desc | |func_desc | ||
|return_text=that is the {{Wikipedia|Natural_logarithm|natural logarithm}} of '''val'''.<br/>If '''val''' <= 0 return 0.0 instead. | |return_text=that is the {{Wikipedia|Natural_logarithm|natural logarithm}} of '''val'''.<br/>If '''val''' <= 0 return 0.0 instead. | ||
Line 10: | Line 10: | ||
|examples | |examples | ||
|helpers | |helpers | ||
|also_functions | |also_functions=*{{LSLG|llLog10}} | ||
|also_events | |also_events | ||
|also_tests | |also_tests |
Revision as of 18:59, 11 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llLog( float val );265 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a float that is the natural logarithm of val.
If val <= 0 return 0.0 instead.
• float | val |
To get the base 10 logarithm use llLog10.