Difference between revisions of "LlSqrt"

From Second Life Wiki
Jump to navigation Jump to search
Line 25: Line 25:
|-
|-
| Sleep:
| Sleep:
| 0 sec
| 0
|-
|-
| [[LSL_Function_ID|Function ID]]:
| [[LSL_Function_ID|Function ID]]:

Revision as of 01:21, 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
Function ID: 4

Caveats

Examples

<lsl> </lsl>

Helper Functions

<lsl> </lsl>

See Also

Notes