Difference between revisions of "LlSqrt"

From Second Life Wiki
Jump to navigation Jump to search
Line 18: Line 18:
Returns the square root of val.
Returns the square root of val.
Returns 0 and triggers a Math Error for imaginary results
Returns 0 and triggers a Math Error for imaginary results
 
{|  
{|
|-  
|-
| [[LSL_Energy|Energy]]:
| Energy:
| 10.0
| 10
|-  
|-
| [[LSL_Sleep|Sleep]]:
| Sleep:
| 0.0  
| 0.0
|-  
|-
| [[LSL_Function_ID|Function ID]]:  
| [[LSL_Function_ID|Function ID]]:
| 4  
| 4
|}
|}
</div>
</div>

Revision as of 01:27, 25 January 2007

The correct title of this article is llSqrt. The initial letter is shown capitalized due to technical restrictions.


float llSqrt( float val);

  • val - positive number.

Specification

Returns the square root of val. Returns 0 and triggers a Math Error for imaginary results

Energy: 10.0
Sleep: 0.0
Function ID: 4

Caveats

Examples

<lsl> </lsl>

Helper Functions

<lsl> </lsl>

See Also

Notes