llAsin
Revision as of 12:25, 21 May 2024 by Frionil Fang (talk | contribs) (same caveats as for llPow/etc. with out of range parameters)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Caveats
- Triggers a Math Error for complex results if not compiled in Mono.
Examples
// Touch the object with this script in it to see the arcsine of random numbers!
default
{
touch_start(integer num)
{
float r = llFrand(2) - 1.0;
llOwnerSay("The arcsine of " + (string)r + " is " + (string)llAsin(r));
}
}