1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>SVC_Sqrt</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">SVC_Sqrt <IMG src="../image/NTR.gif" align="middle"><IMG src="../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15 <PRE><CODE>#include <nitro/os/common/systemCall.h></CODE></PRE> 16 <PRE><CODE>u16 SVC_Sqrt( u32 src );</CODE></PRE> 17</DL> 18<H2>Arguments</H2> 19<TABLE border="1"> 20 <TBODY> 21 <TR> 22 <TD><B><I>src</I></B></TD> 23 <TD>Value of the square root to be calculated.</TD> 24 </TR> 25 </TBODY> 26</TABLE> 27<H2>Return Values</H2> 28<P>This is the result of the square root calculation.</P> 29<H2>Description</H2> 30<P>This function calculates the square root.</P> 31<P>To improve the precision of the calculation, shift the argument to the left by a multiple of 2 before passing it over. Shift the return value as well to align the digits. Because the code size is compressed, it is not high speed.</P> 32<H2>See Also</H2> 33<P><CODE><A href="../cp/sqrt/CP_SetSqrt.html">CP_SetSqrt*</A><BR></CODE></P> 34<H2>Revision History</H2> 35<P>2004/07/20 Initial version.</P> 36<hr><p>CONFIDENTIAL</p></body> 37</HTML>