llSqrt

From Second Life Wiki
Revision as of 18:38, 25 January 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

   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.

Summary

Function: float llSqrt( float val );
0.0 Forced Delay
10.0 Energy

Returns a float that is the square root of val.

• float val positive number

Triggers a Math Error for imaginary results (val < 0.0)

Caveats

  • Crashes the script if passed a negative number.

Examples

Deep Notes

Signature

function float llSqrt( float val );