Difference between revisions of "LlPow"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
|func_sleep=0.0 | |func_sleep=0.0 | ||
|func_energy=10.0 | |func_energy=10.0 | ||
|func_footnote=Triggers a [[LSL_Math_Error|Math Error]] for imaginary results (exponent != (integer)exponent && base < 0.0) | |func_footnote=Triggers a [[LSL_Math_Error|Math Error]] for imaginary results ((exponent != (integer)exponent) && (base < 0.0)) | ||
|p1_type=float | |p1_type=float | ||
|p1_name=base | |p1_name=base | ||
Line 22: | Line 22: | ||
|p12_type|p12_name|p12_desc | |p12_type|p12_name|p12_desc | ||
|return_type=float | |return_type=float | ||
|return_text=that is the | |return_text=that is base raised to the power exponent. | ||
|spec | |spec | ||
|caveats=* | |caveats=* Can crashes the script. | ||
|examples | |examples | ||
|helpers | |helpers | ||
Line 34: | Line 34: | ||
[[Category:LSL_Math]] | [[Category:LSL_Math]] | ||
[[Category:LSL_Error/Math]] | [[Category:LSL_Error/Math]] | ||
Revision as of 19:57, 25 January 2007
Outdated templated used
Please change the template from 'LSLFunctionAll' to 'LSL_Function' (just replace 'LSLFunctionAll' with 'LSL_Function', do this after fixing any other erorr messages.
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llPow( float base, float exponent );5 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a float that is base raised to the power exponent.
• float | base | |||
• float | exponent |
Triggers a Math Error for imaginary results ((exponent != (integer)exponent) && (base < 0.0))