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_CosFx64c</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">FX_CosFx64c <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
21fx64c FX_CosFx64c( fx32    rad );</CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24
25<table border="1" width="100%">
26
27
28    <TR>
29      <TD width="176"><em><strong><font face="Courier New">rad</font></strong></em></TD>
30      <TD width="670">Radians in <code><A href="fx32.html">fx32</A></code>-format fixed-point decimal.</TD>
31    </TR>
32  </table>
33<h2>Return Values</h2>
34<p>Approximation of the cosine.</p>
35<H2>Description</H2>
36<P>This function receives radians as an <code><A href="fx32.html">fx32</A></code> type and returns the result as <code><A href="fx64c.html">fx64c</A></code>. Accuracy is to at least 7 decimal places and usually to 8 decimal places. Approximations are made using internal progressive calculations. Use this function when <code><A href="FX_CosIdx.html">FX_CosIdx</A></code> is not sufficiently accurate.</P>
37
38<h2>See Also</h2>
39<P><code><A href="FX_SinIdx.html">FX_SinIdx</A>, <A href="FX_CosIdx.html">FX_CosIdx</A>, <A href="FX_SinFx64c.html">FX_SinFx64c</A></code></P>
40<H2>Revision History</H2>
41<P>2004/01/19 Initial version.</P>
42<hr><p>CONFIDENTIAL</p></body>
43</html>
44