Difference between revisions of "LlLog10"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{ | {{LSL_Function | ||
|func_id=264|func_sleep=0.0|func_energy=10.0 | |||
|func=llLog10|return_type=float|p1_type=float|p1_name=val | |||
|func_footnote=To get the {{Wikipedia|Natural_logarithm|natural logarithm}} use {{LSLG|llLog10}}. | |||
|func_desc | |||
|return_text=that is the base 10 {{Wikipedia|logarithm}} of '''val'''.<br/>If '''val''' <= 0 return {{HoverText|zero|0.0}} instead. | |||
|spec | |||
|caveats | |||
|constants | |||
|examples | |||
|helpers | |||
|also_functions | |||
|also_events | |||
|also_tests | |||
|also_articles | |||
|notes | |||
|permission | |||
|negative_index | |||
|sort=Log10 | |||
|cat1=Math | |||
|cat2 | |||
|cat3 | |||
|cat4 | |||
}} |
Revision as of 19:06, 11 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llLog10( float val );264 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a float that is the base 10 logarithm of val.
If val <= 0 return zero instead.
• float | val |
To get the natural logarithm use llLog10.