<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How does nRF51422 handle sqrt(n) from C?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9358/how-does-nrf51422-handle-sqrt-n-from-c</link><description>I am trying to better understand how the nRF51422 handles sqrt(n) coming from C in Keil? 
 Can anyone explain, or link to resources which do? I am having difficulty finding such an explanation. 
 Thanks,
J 
 Edit - I mean to ask, is it implemented</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Sep 2015 19:50:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9358/how-does-nrf51422-handle-sqrt-n-from-c" /><item><title>RE: How does nRF51422 handle sqrt(n) from C?</title><link>https://devzone.nordicsemi.com/thread/34540?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2015 19:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67be9fc1-8d9f-44c2-8e90-39c1753d09db</guid><dc:creator>Michael Dietz</dc:creator><description>&lt;p&gt;It depends what you want. Check this post out: &lt;a href="http://www.codeproject.com/Articles/69941/Best-Square-Root-Method-Algorithm-Function-Precisi"&gt;www.codeproject.com/.../Best-Square-Root-Method-Algorithm-Function-Precisi&lt;/a&gt;
I definitely wouldn&amp;#39;t assume that the Keil sqrt function included in the MicroLib is the most efficient though depending on the trade-offs you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does nRF51422 handle sqrt(n) from C?</title><link>https://devzone.nordicsemi.com/thread/34539?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2015 18:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e32bb73b-0973-46ab-86ea-6b0509b783ae</guid><dc:creator>JFreyWahoo</dc:creator><description>&lt;p&gt;Ok thanks for the response.  So, most likely however sqrt(n) is run from #include math.h is already the most efficient way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does nRF51422 handle sqrt(n) from C?</title><link>https://devzone.nordicsemi.com/thread/34538?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2015 18:03:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8853dc6-28a7-469c-80af-14e1b309dba0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;There is no special hardware to perform the sqrt function in nRF51. It is done in the normal way that ARM cortex-M0 processor would do (as this is the processor inside nRF51). I think in Keil sqrt function is included in the MicroLib that needs to be included into your project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>