<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlCos</id>
	<title>LlCos - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlCos"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlCos&amp;action=history"/>
	<updated>2026-06-01T06:21:08Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlCos&amp;diff=312&amp;oldid=prev</id>
		<title>Ty：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: float llCos( float theta ); |参数= 参数： float theta…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlCos&amp;diff=312&amp;oldid=prev"/>
		<updated>2020-05-17T07:44:48Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: float llCos( float theta ); |参数= 参数： float theta…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{函数详情&lt;br /&gt;
|函数名 = Function: float llCos( float theta );&lt;br /&gt;
|参数= 参数： float theta – angle expressed in radians(以弧度表示的浮动θ角)	&lt;br /&gt;
|返回值= 返回值：返回一个浮点数，它是θ的余弦&lt;br /&gt;
&lt;br /&gt;
|注意事项=因为 iee754在 single floats 上，llcos (pi by two)返回-4.371139 e-8(hex: 0x33bbd2e)而不是0; llcos (pi / 3.0)返回0.49999997(hex: 0x3effff)而不是0&lt;br /&gt;
&lt;br /&gt;
|示例=&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Touch the object with this script in it to see the cosine of random numbers!&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer num)&lt;br /&gt;
    {&lt;br /&gt;
        float r = llFrand(TWO_PI);&lt;br /&gt;
        llOwnerSay(&amp;quot;The cosine of &amp;quot; + (string)r + &amp;quot; in radians or &amp;quot; + (string)(r * RAD_TO_DEG) + &amp;quot; in degrees is &amp;quot; + (string)llCos(r));&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|相关函数=&lt;br /&gt;
[[llSin llAsin]]-正弦和反正弦&lt;br /&gt;
[[llAcos]]-反余弦&lt;br /&gt;
[[llTan llAtan2]]-正切与反正切&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Ty</name></author>
		
	</entry>
</feed>