<?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 Is it possible to use tanh() function at aw32 microcontroller in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Is-it-possible-to-use-tanh-function-at-aw32-microcontroller/m-p/154596#M3876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hello, i am trying to use tanh() at codwarrior 6.0 but i am not sure if it is possible with 8 bits microcontroller aw32. Does anyone knows how to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the error massage is as follow &lt;/SPAN&gt;&lt;A target="_blank"&gt;L1822: Symbol &amp;lt;Symbol Name&amp;gt; in file &amp;lt;File Name&amp;gt; is undefined&lt;/A&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2008 02:30:52 GMT</pubDate>
    <dc:creator>edrian</dc:creator>
    <dc:date>2008-05-09T02:30:52Z</dc:date>
    <item>
      <title>Is it possible to use tanh() function at aw32 microcontroller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Is-it-possible-to-use-tanh-function-at-aw32-microcontroller/m-p/154596#M3876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hello, i am trying to use tanh() at codwarrior 6.0 but i am not sure if it is possible with 8 bits microcontroller aw32. Does anyone knows how to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the error massage is as follow &lt;/SPAN&gt;&lt;A target="_blank"&gt;L1822: Symbol &amp;lt;Symbol Name&amp;gt; in file &amp;lt;File Name&amp;gt; is undefined&lt;/A&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 02:30:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Is-it-possible-to-use-tanh-function-at-aw32-microcontroller/m-p/154596#M3876</guid>
      <dc:creator>edrian</dc:creator>
      <dc:date>2008-05-09T02:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use tanh() function at aw32 microcontroller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Is-it-possible-to-use-tanh-function-at-aw32-microcontroller/m-p/154597#M3877</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;ANSI C&amp;nbsp;math functions can be used&amp;nbsp;for HC08, but you need to be aware that this will significantly increase your application size.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Did you include math.h in the source file where you did use tanh? &lt;DIV&gt;Did you specify you want to use &lt;B style="COLOR: #ffffff; BACKGROUND-COLOR: #51626f"&gt;floating&lt;/B&gt; point arithmetic when you have created your project?&lt;/DIV&gt;&lt;DIV&gt;If the option -D__NO_FLOAT__ is specified on your command line, remove it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;With which ansi library file are you linking your application?&lt;/DIV&gt;&lt;DIV&gt;You need to link your application with a library file supporting floating point operation.&lt;/DIV&gt;&lt;DIV&gt;The file {Install}\lib\hc08c\readme.txt describes which library file to use according to the options you are using.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;If you really want to use floating point sand math function I would recommend&amp;nbsp;compiling with&amp;nbsp;-Fd option. This tells the compiler to encode double on 32-bits and reduce the overhead a bit. But with this configuration you only get single precision on your&amp;nbsp;double&amp;nbsp;operation.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 13:55:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Is-it-possible-to-use-tanh-function-at-aw32-microcontroller/m-p/154597#M3877</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-05-09T13:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use tanh() function at aw32 microcontroller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Is-it-possible-to-use-tanh-function-at-aw32-microcontroller/m-p/154598#M3878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thank you very much, i forgot specify that would be using float, now it is working fine.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 20:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Is-it-possible-to-use-tanh-function-at-aw32-microcontroller/m-p/154598#M3878</guid>
      <dc:creator>edrian</dc:creator>
      <dc:date>2008-05-09T20:45:14Z</dc:date>
    </item>
  </channel>
</rss>

