<?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: Trig using GT60 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132871#M3200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;that answers the floating point question but not the math.h question&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2006 19:04:26 GMT</pubDate>
    <dc:creator>mjcoury</dc:creator>
    <dc:date>2006-10-12T19:04:26Z</dc:date>
    <item>
      <title>Trig using GT60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132869#M3198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to use Trig (i.e. Sine, Cosine, etc) with the GT60 MCU. Also how do you incoroprate MATH.h into your project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the following error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;L1822: Symbol sin in file is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;L1822: Symbol cos in file is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#include at the top of my program&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also is the return of sin or cos at double or a float? because both are availalbe according to math.h&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 23:19:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132869#M3198</guid>
      <dc:creator>mjcoury</dc:creator>
      <dc:date>2006-10-11T23:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trig using GT60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132870#M3199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are using CodeWarrior for HC08. Am I right?&lt;/DIV&gt;&lt;DIV&gt;If this is the case, did you create your project using the project wizard?&lt;/DIV&gt;&lt;DIV&gt;Did you specify you want to use floating point arithmetic in your application when creating the project?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;These are MUST DO. If you do not specify you want o use floating point arithmetic in your application, you will not be using the appropriate library file and you will not be able to link your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 13:39:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132870#M3199</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-10-12T13:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trig using GT60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132871#M3200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;that answers the floating point question but not the math.h question&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 19:04:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132871#M3200</guid>
      <dc:creator>mjcoury</dc:creator>
      <dc:date>2006-10-12T19:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trig using GT60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132872#M3201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In fact you just need to include the file math.h in your source code.&lt;/DIV&gt;&lt;DIV&gt;If you have created your project from a stationery, the paths to the include file should be set up&lt;/DIV&gt;&lt;DIV&gt;correctly and you should be able to compile your file,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Anyway including the .h file will make sure the compiler calls the function the appropriate way,&lt;/DIV&gt;&lt;DIV&gt;but will not add the math code to the application you have to add the appropriate library file to your project.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 20:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Trig-using-GT60/m-p/132872#M3201</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-10-12T20:08:42Z</dc:date>
    </item>
  </channel>
</rss>

