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_Modf</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">FX_Modf <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_Modf(fx32 x, fx32* iPtr);</CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24
25<table border="1" width="100%">
26
27
28    <tr>
29      <TD width="109"><em><strong><font face="Courier New">x</font></strong></em></TD>
30      <TD width="593"><code><A href="fx32.html">fx32</A></code>-format fixed-point decimal.</TD>
31    </tr>
32    <TR>
33      <TD><em><strong><font face="Courier New">iPtr</font></strong></em></TD>
34      <TD>Pointer to a <CODE><A href="fx32.html">fx32</A></CODE> type fixed-point number.</TD>
35    </TR>
36  </table>
37<h2>Return Values</h2>
38<p><code><A href="fx32.html">fx32</A></code>-format fixed-point decimal.</p>
39<H2>Description</H2>
40<P>This function splits <em><strong><CODE>x</CODE></strong></em> into an integer and a remainder, both having the same sign as <em><strong><CODE>x</CODE></strong></em>. It returns the remainder and stores the integer in <em><strong><code>*iPtr</code></strong></em>.</P>
41
42<h2>See Also</h2>
43<H2>Revision History</H2>
44<P>2004/02/13 Initial version.</P>
45<hr><p>CONFIDENTIAL</p></body>
46</html>
47