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_Mul</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">FX_Mul <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_Mul(fx32 v1, fx32 v2);</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">v1</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"><em><strong><code>v2</code></strong></em>&nbsp;&nbsp;</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>Result of multiplying <EM><STRONG><CODE>v1</CODE></STRONG></EM> and <EM><STRONG><CODE>v2</CODE></STRONG></EM>.</p>
38<H2>Description</H2>
39<P>This function multiplies two <CODE><A href="fx32.html">fx32</A></CODE> types. It returns the result as an <CODE><A href="fx32.html">fx32</A></CODE> type. The calculations are performed internally using <CODE><A href="fx64.html">fx64</A></CODE> types. Values that are less than 1/4096 are rounded off. The section that contains this function was developed as a function to be called for THUMB code or as an inline function for ARM code.</P>
40<P><A href="../os/debug/SDK_WARNING.html"><CODE>SDK_WARNING</CODE></A> displays a warning message when the number of digits overflows during calculations.</P>
41
42<h2>See Also</h2>
43<P><code><A href="FX_Div.html">FX_Div</A>, <A href="FX_Sqrt.html">FX_Sqrt</A>, <A href="FX_Inv.html">FX_Inv</A></code></P>
44<H2>Revision History</H2>
45<P>2006/04/28 Added digit overflow check<br> 2004/01/19 Initial version.</P>
46<hr><p>CONFIDENTIAL</p></body>
47</html>
48