<?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 floating point error in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418985#M11693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm using codewarrior ver 10.6 and MCU5606B dev board for intelligent car&lt;/P&gt;&lt;P&gt;i need to use floating point because i'll use IMU sensor &amp;amp; PID controll&lt;/P&gt;&lt;P&gt;so I add "include &amp;lt;float.h&amp;gt;" , plus arithmetic operation(a=a+5; , declare float a) and&amp;nbsp; lib path&amp;nbsp; but error occured like below&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25752_25752.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120323i1BDA110261F66B69/image-size/large?v=v2&amp;amp;px=999" role="button" title="25752_25752.JPG" alt="25752_25752.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32821iDCBCE38DF8A883A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.JPG" alt="error.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; please advise how can i solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2015 12:13:28 GMT</pubDate>
    <dc:creator>junesikkim</dc:creator>
    <dc:date>2015-05-11T12:13:28Z</dc:date>
    <item>
      <title>floating point error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418985#M11693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm using codewarrior ver 10.6 and MCU5606B dev board for intelligent car&lt;/P&gt;&lt;P&gt;i need to use floating point because i'll use IMU sensor &amp;amp; PID controll&lt;/P&gt;&lt;P&gt;so I add "include &amp;lt;float.h&amp;gt;" , plus arithmetic operation(a=a+5; , declare float a) and&amp;nbsp; lib path&amp;nbsp; but error occured like below&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25752_25752.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120323i1BDA110261F66B69/image-size/large?v=v2&amp;amp;px=999" role="button" title="25752_25752.JPG" alt="25752_25752.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32821iDCBCE38DF8A883A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.JPG" alt="error.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; please advise how can i solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 12:13:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418985#M11693</guid>
      <dc:creator>junesikkim</dc:creator>
      <dc:date>2015-05-11T12:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: floating point error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418986#M11694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the runtime library added into the project?&amp;nbsp; Please see the screenshot in below for the necessary libraries for a Qorivva project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="lib files.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22008iD404A04A9FB15AB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="lib files.png" alt="lib files.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also attached a simple project in my test, it builds well in CW10.6. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not help, please attach a simple project to help us reproduce the error. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 09:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418986#M11694</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2015-05-15T09:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: floating point error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418987#M11695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your advice. But but that method isn't solution to me.&lt;/P&gt;&lt;P&gt;That method is using code warrior project. My project was made via RAppid.&lt;/P&gt;&lt;P&gt;Please let me know about the floating point calculation using RAppid.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Please&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;answer&lt;/SPAN&gt;. Thank you~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 12:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418987#M11695</guid>
      <dc:creator>junesikkim</dc:creator>
      <dc:date>2015-05-15T12:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: floating point error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418988#M11696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you advice. i modified setting and just occured warining after adding the library &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 12:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/floating-point-error/m-p/418988#M11696</guid>
      <dc:creator>junesikkim</dc:creator>
      <dc:date>2015-05-15T12:31:53Z</dc:date>
    </item>
  </channel>
</rss>

