Difference between revisions of "LlPow"

From Second Life Wiki
Jump to: navigation, search
m ('Can crashes' to 'Can crash')
Line 8: Line 8:
 
|return_text=that is '''base''' raised to the power '''exponent''' ('''base'''<sup>'''exponent'''</sup>)
 
|return_text=that is '''base''' raised to the power '''exponent''' ('''base'''<sup>'''exponent'''</sup>)
 
|spec
 
|spec
|caveats=* Can crashes the script.
+
|caveats=* Can crash the script.
 
|examples
 
|examples
 
|helpers
 
|helpers

Revision as of 15:31, 16 April 2007

Summary

Function: float llPow( float base, float exponent );

Returns a float that is base raised to the power exponent (baseexponent)

• float base
• float exponent

Triggers a Math Error for imaginary results ((exponent != (integer)exponent) && (base < 0.0))

Caveats

  • Can crash the script.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llLog
•  llLog10
•  llSqrt

Deep Notes

Search JIRA for related Issues

Signature

function float llPow( float base, float exponent );