<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PXS2010 Maths libraries not functioning in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/PXS2010-Maths-libraries-not-functioning/m-p/255001#M9787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi twp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you perhaps post the example project? I cannot reproduce it at the moment on my side.&lt;/P&gt;&lt;P&gt;Did you select "SPFP" or "SPFP_Only" in Floating point support dialog when the project was created?&lt;/P&gt;&lt;P&gt;Did you add #include &amp;lt;math.h&amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What results do you get with and without #pragma dont_inline?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for additional details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 13:30:38 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2013-07-17T13:30:38Z</dc:date>
    <item>
      <title>PXS2010 Maths libraries not functioning</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/PXS2010-Maths-libraries-not-functioning/m-p/255000#M9786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'm using Codewarrior 10.4 with a PXS2010 board and have enabled floating point support in the project by adding:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define _EWL_FLOATING_POINT 1&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to the build prefix files.&amp;nbsp; The project is set to SPFP floating point support, however logf(x) is giving very strange results.&amp;nbsp; Following on from comments in this thread...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2028" data-containertype="14" data-objectid="300754" data-objecttype="1" href="https://community.nxp.com/thread/300754#302198"&gt;https://community.freescale.com/message/302198#302198&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pragma dont_inline on&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;#pragma dont_inline reset&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;around the code using the maths libraries which has fixed the problem.&amp;nbsp; The previous thread mentioning problem this marked this issue as solved in version 10.3 libraries but I seem to be having this problem with 10.4 libraries.&amp;nbsp; Is there a fix for this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 14:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/PXS2010-Maths-libraries-not-functioning/m-p/255000#M9786</guid>
      <dc:creator>twp</dc:creator>
      <dc:date>2013-07-04T14:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: PXS2010 Maths libraries not functioning</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/PXS2010-Maths-libraries-not-functioning/m-p/255001#M9787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi twp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you perhaps post the example project? I cannot reproduce it at the moment on my side.&lt;/P&gt;&lt;P&gt;Did you select "SPFP" or "SPFP_Only" in Floating point support dialog when the project was created?&lt;/P&gt;&lt;P&gt;Did you add #include &amp;lt;math.h&amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What results do you get with and without #pragma dont_inline?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for additional details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 13:30:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/PXS2010-Maths-libraries-not-functioning/m-p/255001#M9787</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2013-07-17T13:30:38Z</dc:date>
    </item>
  </channel>
</rss>

