<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlAtan2</id>
	<title>LlAtan2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlAtan2"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlAtan2&amp;action=history"/>
	<updated>2026-10-25T11:51:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.osgrid.org/index.php?title=LlAtan2&amp;diff=63&amp;oldid=prev</id>
		<title>Osgridadmin: /* Function: float llAtan2( float y, float x ); */</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlAtan2&amp;diff=63&amp;oldid=prev"/>
		<updated>2017-12-30T15:59:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Function: float llAtan2( float y, float x );&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: float llAtan2( float y, float x );==&lt;br /&gt;
Returns a float that is the arctangent2 of y, x. &amp;lt;br&amp;gt;&lt;br /&gt;
• float 	y  &amp;lt;br&amp;gt;			&lt;br /&gt;
• float 	x 	&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;		&lt;br /&gt;
&lt;br /&gt;
Similar to the arctangent(y/x) except it utilizes the signs of x &amp;amp; y to determine the quadrant. Returns zero if x and y are zero.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
  state_entry()&lt;br /&gt;
  {&lt;br /&gt;
    float num1 = llFrand(100.0);&lt;br /&gt;
    float num2 = llFrand(100.0);&lt;br /&gt;
 &lt;br /&gt;
    llOwnerSay(&amp;quot;y = &amp;quot; + (string)num1);&lt;br /&gt;
    llOwnerSay(&amp;quot;x = &amp;quot; + (string)num2);&lt;br /&gt;
 &lt;br /&gt;
    llOwnerSay(&amp;quot;The arctangent of y divided by x is &amp;quot; + (string)llAtan2(num1, num2));&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See Also &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Functions&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
• [[llSin]] 	[[llAsin]] 	– 	sine &amp;amp; inverse Sine 	&amp;lt;br&amp;gt;&lt;br /&gt;
• [[llCos]] 	[[llAcos]] 	– 	cosine &amp;amp; inverse cosine 	&amp;lt;br&amp;gt;&lt;br /&gt;
• [[llTan]] 		– 	tangent 	&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Articles&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[Wikipedia:Atan2]] 	&amp;lt;br&amp;gt;		&lt;br /&gt;
•  	[[Wikipedia:Inverse_trigonometric_function]] 		&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>