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_Mul32x64c</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">FX_Mul32x64c <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.h&gt;
20
21fx32 FX_Mul32x64c(fx32 v32, fx64c v64c);</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">v32</font></strong></em></TD>
29<TD width="593">An <code><A href="fx32.html">fx32</A></code>-type fixed decimal.</TD>
30    </tr>
31    <TR>
32<TD><em><strong><font face="Courier New">v64c</font></strong></em></TD>
33<TD>An <CODE><A href="fx64c.html">fx64c</A></CODE>-type fixed decimal.</TD>
34    </TR>
35  </table>
36<h2>Return Values</h2>
37<p>Result of multiplying <SPAN class="argument">v32</SPAN> and <SPAN class="argument">v64c</SPAN>.</p>
38<H2>Description</H2>
39<P>This function performs multiplication calculations of <CODE><A href="fx32.html">fx32</A></CODE> and <CODE><A href="fx64c.html">fx64c</A></CODE> types. It returns the result as an <CODE><A href="fx32.html">fx32</A></CODE> type. Values that are less than 1/4096 are rounded off. If this function is written in a section of THUMB code, it is handled as a function call. If it is written in ARM code it is processed as an inline function. For this reason, if your program internally switches between ARM and THUMB code, do not use <code>#pragma thumb on</code>. Instead use <code>#include &lt;twl/code16.h&gt;</code>.<br>See the <a href="../information/headerfiles.html">Description of Header Files</a> page for a description of <CODE>code16.h</CODE>.
40</P>
41
42<h2>See Also</h2>
43<P><A href="FX_DivFx64c.html"><code>FX_DivFx64c</code></A>, <A href="FX_InvFx64c.html"><code>FX_InvFx64c</code></A></P>
44<H2>Revision History</H2>
45<P>
462009/04/28 Added description of method if switching between THUMB and ARM code.<br>2004/01/19 Initial version.</P>
47<hr><p>CONFIDENTIAL</p></body>
48</html>
49