Difference between revisions of "LlAcos/zh-Hant"
< LlAcos
Jump to navigation
Jump to search
(Created page with "{{LSL_Function/zh-Hant |func_id=172|func_sleep=0.0|func_energy=10.0 |func=llAcos|sort=Acos |return_type=float |p1_type=float|p1_name=val|p1_desc=must fall in the range {{Interval…") |
|||
Line 3: | Line 3: | ||
|func=llAcos|sort=Acos | |func=llAcos|sort=Acos | ||
|return_type=float | |return_type=float | ||
|p1_type=float|p1_name=val|p1_desc= | |p1_type=float|p1_name=val|p1_desc=範圍必須為{{Interval|gte=-1.0|center=val|lte=1.0}}{{Interval/Footnote}} | ||
|p1_hover=範圍必須為{{Interval/Text2|gte=-1.0|center=val|lte=1.0}} | |p1_hover=範圍必須為{{Interval/Text2|gte=-1.0|center=val|lte=1.0}} | ||
|return_text='''{{LSL Param|val}}''' | |return_text='''{{LSL Param|val}}'''的反餘弦值 | ||
|func_footnote=回傳值的範圍為{{Interval|gte=0.0|center=return|lte=[[PI]]|lteh=PI}} | |func_footnote=回傳值的範圍為{{Interval|gte=0.0|center=return|lte=[[PI]]|lteh=PI}} | ||
|spec | |spec |
Latest revision as of 19:03, 7 May 2011
範例
<lsl>// Touch the object with this script in it to see the arccosine of random numbers! default {
touch_start(integer num) { float r = llFrand(2) - 1.0; llOwnerSay("The arccosine of " + (string)r + " is " + (string)llAcos(r)); }}</lsl>
參照
Deep Notes
Footnotes
- ^ The ranges in this article are written in Interval Notation.