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
{|
|-
| Energy:
| 10%
|-
| Sleep:
| 0 sec
|-
| [[LSL_Function_ID|Function ID]]:
| 4
|}
</div>
</div>
</div>
</div>
Line 59: Line 71:
== Notes ==
== Notes ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
Function ID: 4
</div>
</div>
</div>
</div>

Revision as of 01:20, 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%
Sleep: 0 sec
Function ID: 4

Caveats

Examples

<lsl> </lsl>

Helper Functions

<lsl> </lsl>

See Also

Notes