<?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>8-bit MicrocontrollersのトピックRe: problem with Trigonometric functions ( cos, sin...)</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254131#M19873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you increase the stack size from the default setting for the 'JM32.&amp;nbsp; The trigonometric functions will require copious amounts of stack space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2013 04:29:38 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2013-02-11T04:29:38Z</dc:date>
    <item>
      <title>problem with Trigonometric functions ( cos, sin...)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254130#M19872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, I have HCS08JM32, I just, created a new project using floating point &amp;amp; #include &amp;lt;math.h&amp;gt;...&lt;/P&gt;&lt;P&gt;double x = cos(3.14) or any other value like cos(1), cos(1.5)... I don't get any correct answer!&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;double x = 0.5; // I get in the debugger x = 0.5&lt;/P&gt;&lt;P&gt;x = cos(3.14); // the x still equal to 0.5 in the debugger!&lt;/P&gt;&lt;P&gt;but when I do the same on MCF51AC256A, I get the right answers.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you help me please!&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 13:33:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254130#M19872</guid>
      <dc:creator>ferasq</dc:creator>
      <dc:date>2013-02-10T13:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Trigonometric functions ( cos, sin...)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254131#M19873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you increase the stack size from the default setting for the 'JM32.&amp;nbsp; The trigonometric functions will require copious amounts of stack space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 04:29:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254131#M19873</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2013-02-11T04:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Trigonometric functions ( cos, sin...)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254132#M19874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Feras, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let us know if this suggestion is helpful, keep us posted! :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 16:09:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254132#M19874</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-02-18T16:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Trigonometric functions ( cos, sin...)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254133#M19875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey :smileyhappy:&lt;/P&gt;&lt;P&gt;that works now :smileyhappy: it was related to the stack size as suggested by bigmac!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 06:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254133#M19875</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2013-02-19T06:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Trigonometric functions ( cos, sin...)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254134#M19876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AWESOME! :smileygrin:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:41:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/problem-with-Trigonometric-functions-cos-sin/m-p/254134#M19876</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-02-19T19:41:08Z</dc:date>
    </item>
  </channel>
</rss>

