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_DivS32</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">FX_DivS32 <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 <nitro/fx/fx_cp.h> 20 21s32 FX_DivS32(s32 a, s32 b)</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">a</font></strong></em></TD> 29 <TD width="593"><CODE>s32</CODE> type integer numerator</TD> 30 </tr> 31 <TR> 32 <TD><em><strong><font face="Courier New">b</font></strong></em></TD> 33 <TD><CODE>s32</CODE> type integer denominator</TD> 34 </TR> 35 </table> 36<h2>Return Values</h2> 37<p>Division results.</p> 38<H2>Description</H2> 39<P>This function performs division with two s32 types. The results are returned in an s32 format. The Divider is used internally. This function is faster than normal C integer division.</P> 40<P>Refer to <A href="../cp/div/about_div.html#use_in_intr">Divider Usage Notes</A> when using this function inside an interrupt.</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