Difference between revisions of "LlLog"

From Second Life Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=265|func_sleep=0.0|func_energy=10.0|func=llLog|return_type=float|p1_type=float|p1_name=val|func_footnote=Returns the base e log of val if val > 0, otherwise returns 0.0|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
+
{{LSL_Function
 +
|func_id=265|func_sleep=0.0|func_energy=10.0
 +
|func=llLog|return_type=float|p1_type=float|p1_name=val
 +
|func_footnote
 +
|func_desc
 +
|return_text=that is the {{Wikipedia|Natural_logarithm|natural logarithm}} of '''val'''.<br/>If '''val''' <= 0 return 0.0 instead.
 +
|spec
 +
|caveats
 +
|constants
 +
|examples
 +
|helpers
 +
|also_functions
 +
|also_events
 +
|also_tests
 +
|also_articles=*{{Wikipedia|Natural_logarithm}}
 +
|notes
 +
|permission
 +
|negative_index
 +
|sort=Log
 +
|cat1=Math
 +
|cat2
 +
|cat3
 +
|cat4
 +
}}

Revision as of 17:57, 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

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function float llLog( float val );