<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A question about arithmetic library functions like sin, log, etc</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18650/a-question-about-arithmetic-library-functions-like-sin-log-etc</link><description> Hello to the Keil Software Discussion Forum: 
 
My name is Randy Norris and I am with NORgate Engineering &amp;amp; Associates. 
We are considering using the 8051 for an online signal processing application and our question is this: 
 
Does the Keil 8051 C compiler</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: A question about arithmetic library functions like sin, log, etc</title><link>https://community.arm.com/thread/87287?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2005 11:40:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:90b47873-2ccf-425d-a211-f88db244a171</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;It will do them but another question would be how fast you need them done. This will give you some idea of the speed of the various function depending on which memory model you are using.&lt;/i&gt;&lt;br /&gt;
But do remember that you can get 100MHz one clockers (SILabs F12x) = 100 times faster than the &amp;quot;traditional&amp;quot; &amp;#39;51&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A question about arithmetic library functions like sin, log, etc</title><link>https://community.arm.com/thread/44282?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2005 11:11:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bfb477c2-33c6-49c4-a5a7-91b4f160c025</guid><dc:creator>Walt Conley</dc:creator><description>&lt;p&gt;It will do them but another question would be how fast you need them done. This will give you some idea of the speed of the various function depending on which memory model you are using.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.keil.com/benchmks/tm_c51_v7_small.asp"&gt;http://www.keil.com/benchmks/tm_c51_v7_small.asp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A question about arithmetic library functions like sin, log, etc</title><link>https://community.arm.com/thread/87275?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2005 11:07:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ab243134-59a8-4706-a347-ebaab538ab0f</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;All you want is there but not in the eval&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Floating point functionality is excluded, but the full documentation is all there in the Eval download.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A question about arithmetic library functions like sin, log, etc</title><link>https://community.arm.com/thread/44280?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2005 11:06:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dc8e6f5f-20cd-4718-91c2-e16d79a2cff5</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;We are considering using the 8051 for an online signal processing application and our question is this&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Hmmm...&lt;br /&gt;
&lt;br /&gt;
The 8051 is a micro&lt;i&gt;controller&lt;/i&gt; - not a signal processor!&lt;br /&gt;
&lt;br /&gt;
Perhaps you could elaborate on exactly what sort of &amp;quot;signal processing&amp;quot; you envisage, and what you mean by &amp;quot;online&amp;quot; - particularly what sort of performance you require.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;Does the Keil 8051 C compiler have the capability to use arithmetic functions such as sin, cos, log, sqrt, etc?&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
It&amp;#39;s an ANSI &amp;#39;C&amp;#39; compiler - so yes, it does.&lt;br /&gt;
&lt;br /&gt;
However, again, the 8051 is just a little 8-bit &lt;i&gt;controller&lt;/i&gt; - floating-point maths is not its &lt;i&gt;forte&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;this documentation does not address our question.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
All the library functions are described in the chapter headed, surprisingly, &amp;quot;Library Reference&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A question about arithmetic library functions like sin, log, etc</title><link>https://community.arm.com/thread/44281?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2005 10:57:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0d65cec9-fd8c-4674-8f9e-4f5a41c84661</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;All you want is there &lt;b&gt;but not in the eval&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>