Difference between revisions of "LlPow"
Jump to navigation
Jump to search
m |
|||
Line 6: | Line 6: | ||
|p2_type=float|p2_name=exponent|p2_desc | |p2_type=float|p2_name=exponent|p2_desc | ||
|return_type=float | |return_type=float | ||
|return_text=that is '''base''' raised to the power '''exponent'''. | |return_text=that is '''base''' raised to the power '''exponent'''.<br/><math>base^{exponent}</math> | ||
|spec | |spec | ||
|caveats=* Can crashes the script. | |caveats=* Can crashes the script. |
Revision as of 10:53, 21 February 2007
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.
<math>base^{exponent}</math>
• float | base | |||
• float | exponent |
Triggers a Math Error for imaginary results ((exponent != (integer)exponent) && (base < 0.0))