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 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>FX_Sqrt</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">FX_Sqrt <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 21fx32 FX_Sqrt(fx32 x);</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">x</font></strong></em></TD> 29 <TD width="593"><code><A href="fx32.html">fx32</A></code>-format fixed-point decimal.</TD> 30 </tr> 31 </table> 32<h2>Return Values</h2> 33<p>Square root of <EM><STRONG><CODE>numer</CODE></STRONG></EM>.</p> 34<H2>Description</H2> 35<P>This function obtains an <CODE><A href="fx32.html">fx32</A></CODE> type square root. It returns the result as an <CODE><A href="fx32.html">fx32</A></CODE> type. The Square Root Calculator is used internally.</P> 36<P>Refer to <A href="../cp/sqrt/about_sqrt.html#use_in_intr">Square Root Calculator Usage Notes</A> when using this function inside an interrupt.</P> 37 38 39<h2>See Also</h2> 40<P><code><A href="FX_InvSqrt.html">FX_InvSqrt</A>, <A href="FX_SqrtAsync.html">FX_SqrtAsync</A></code></P> 41<H2>Revision History</H2> 42<P>2004/01/19 Initial version.</P> 43<hr><p>CONFIDENTIAL</p></body> 44</html> 45