<?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>nRF52 FPU single precision floating point - GCC compiler flags</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45241/nrf52-fpu-single-precision-floating-point---gcc-compiler-flags</link><description>I just came upon a blog post from ARM about the use of the Cortex-M4&amp;#39;s FPU: 
 https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/10-useful-tips-to-using-the-floating-point-unit-on-the-arm-cortex--m4-processor?pi353792392</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Jan 2020 09:03:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45241/nrf52-fpu-single-precision-floating-point---gcc-compiler-flags" /><item><title>RE: nRF52 FPU single precision floating point - GCC compiler flags</title><link>https://devzone.nordicsemi.com/thread/230798?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 09:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebf17dd3-a48d-4928-ba1b-ba31f0ac5fc8</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;There was a similar thread on the ARM Keil forum recently;&amp;nbsp; the behaviour with float/double is actually C&amp;#39;s defined behaviour - not specific to GCC or Nordic or even ARM.&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;Here:&amp;nbsp;&lt;a href="https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/45118/definition-of-variables-an-operation-of-variables-with-different-data-types-and-casting/162118#162118"&gt;https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/45118/definition-of-variables-an-operation-of-variables-with-different-data-types-and-casting/162118#162118&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;note that GCC has an option to override the standard behaviour&lt;/p&gt;
&lt;p&gt;Also:&amp;nbsp;&lt;a href="https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/45118/definition-of-variables-an-operation-of-variables-with-different-data-types-and-casting/162272#162272"&gt;https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/45118/definition-of-variables-an-operation-of-variables-with-different-data-types-and-casting/162272#162272&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT 2&lt;/p&gt;
&lt;p&gt;Sorry - it was the Cortex-M forum, not Keil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FPU single precision floating point - GCC compiler flags</title><link>https://devzone.nordicsemi.com/thread/230788?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 08:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff234500-3d76-4c8a-b076-db47ac9cd058</guid><dc:creator>DerPMO</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind, I wanted to ask if anyone had the chance to look into that yet? We are using it in our released software, but we&amp;#39;ve never really evaluated the ramifications.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FPU single precision floating point - GCC compiler flags</title><link>https://devzone.nordicsemi.com/thread/177839?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 13:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcad1800-cbda-4971-84d9-1b0944ad066c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thanks for the information, I will forward this to our software department.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, what &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; said :)&amp;nbsp; We are aware of the issues of DevZone and are working with a solution.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FPU single precision floating point - GCC compiler flags</title><link>https://devzone.nordicsemi.com/thread/177801?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 10:50:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eeb87df-1da1-48e9-a5ce-79939e198a8a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Thanks for the heads-up.&lt;/p&gt;
&lt;p&gt;I may be about to do some FP stuff, so will look out for this ...&lt;/p&gt;
[quote userid="17488" url="~/f/nordic-q-a/45241/nrf52-fpu-single-precision-floating-point---gcc-compiler-flags/177800"]the code formatting tool in this new devzone editor is annoying[/quote]
&lt;p&gt;Report that in the &amp;#39;Backstage&amp;#39; forum:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/backstage/f/welcome-to-the-devzone"&gt;https://devzone.nordicsemi.com/backstage/f/welcome-to-the-devzone&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;eg,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/backstage/f/welcome-to-the-devzone/41454/options-for-posting-source-code-are-confusing"&gt;devzone.nordicsemi.com/.../options-for-posting-source-code-are-confusing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The quoting is even more annoying!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/backstage/f/welcome-to-the-devzone/40201/very-annoying-quote-feature-often-fails-to-properly-quote"&gt;https://devzone.nordicsemi.com/backstage/f/welcome-to-the-devzone/40201/very-annoying-quote-feature-often-fails-to-properly-quote&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/backstage/f/welcome-to-the-devzone/40427/quoting-a-numbered-list-doesn-t-work"&gt;https://devzone.nordicsemi.com/backstage/f/welcome-to-the-devzone/40427/quoting-a-numbered-list-doesn-t-work&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FPU single precision floating point - GCC compiler flags</title><link>https://devzone.nordicsemi.com/thread/177800?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 10:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bc03922-2e91-4af2-8cb5-16fe69f64716</guid><dc:creator>DerPMO</dc:creator><description>&lt;p&gt;As a sidenote: wow the code formatting tool in this new devzone editor is annoying&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>