<?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 to add sqrtl to project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49805/how-to-add-sqrtl-to-project</link><description>IDE: Segger Embedded Studio 
 SDK: 15.2 
 Mesh SDK: 3.1.0 
 Im working on adding light lightness model to the mesh SDK and it requires doing an equation like sqrt(x * 65535) but i cannot do this as the value passed to sqrt is larger than an int. This</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jul 2019 13:32:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49805/how-to-add-sqrtl-to-project" /><item><title>RE: How to add sqrtl to project</title><link>https://devzone.nordicsemi.com/thread/198745?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 13:32:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bf6c9a7-6f2a-4f97-898c-b6c53731e1f8</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Does that mean you have answered your own question? Or do you have any more questions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add sqrtl to project</title><link>https://devzone.nordicsemi.com/thread/198553?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 17:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bda0b1b-3ba9-4534-8d10-2d90a2d43a20</guid><dc:creator>BubDev</dc:creator><description>&lt;p&gt;Just realized I can rearrange the equation to be sqrt(x)*sqrt(65535) to avoid the problem as x will never be larger than an int.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>