Difference between revisions of "LlLog"

From Second Life Wiki
Jump to: navigation, 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 17:59, 11 February 2007

Summary

Function: float llLog( float val );

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.

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function float llLog( float val );