1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>FX_Atan2</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">FX_Atan2 <img src="../image/NTR.gif"align="middle"><img src="../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19<PRE><CODE>#include &lt;nitro/fx/fx_trig.h&gt;
20
21fx16 FX_Atan2( fx32 y, fx32 x );</CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24
25<table border="1" width="100%">
26
27    <tr>
28      <TD width="109"><em><strong><font face="Courier New">y</font></strong></em></TD>
29      <TD width="593"><code><A href="fx32.html">fx32</A></code>-format fixed-point decimal.</TD>
30    </tr>
31    <TR>
32      <TD><em><strong><font face="Courier New">x</font></strong></em></TD>
33      <TD><code><A href="fx32.html">fx32</A></code>-format fixed-point decimal.</TD>
34    </TR>
35  </table>
36<h2>Return Values</h2>
37<p>Arctangent of y/x</p>
38<H2>Description</H2>
39<P>This finds the arctangent of <strong><em><CODE>y</CODE></em></strong>/<strong><em><CODE>x</CODE></em></strong>. The result that it returns is an <code><A href="fx16.html">fx16</A></code> type in radian units. Internally, a table is referenced.</P>
40
41<h2>See Also</h2>
42<P><CODE><A href="FX_Atan.html">FX_Atan</A>, <A href="FX_AtanIdx.html">FX_AtanIdx</A>, <A href="FX_Atan2Idx.html">FX_Atan2Idx</A>, <A href="FX_AsinIdx.html">FX_AsinIdx</A>, <A href="FX_AcosIdx.html">FX_AcosIdx</A></CODE></P>
43<H2>Revision History</H2>
44<P>2004/01/19 Initial version.</P>
45<hr><p>CONFIDENTIAL</p></body>
46</html>
47