<?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>LPCXpresso IDEのトピックRe: floating point operations</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561469#M16342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rahulvasist on Sun Aug 14 05:36:30 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for replying.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.About the memory storage, can u tell me the exact number of bytes a floating point number occupies?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.How to check the number of clock cycles it takes to execute and instruction in lpcxpresso?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:21:20 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:21:20Z</dc:date>
    <item>
      <title>floating point operations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561467#M16340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rahulvasist on Sat Aug 13 22:25:12 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I've a few doubts about floating point operations in LPC1769&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Does floating point operations have hardware support?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. How are floating point numbers represented in memory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. How fast are floating point operations in terms of clock cycles?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:21:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561467#M16340</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: floating point operations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561468#M16341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Sun Aug 14 00:07:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1. No. Cortex-m3 does not support hardware floating point. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. As real floating point numbers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. They are calculated in software and so are quite slow&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:21:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561468#M16341</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: floating point operations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561469#M16342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rahulvasist on Sun Aug 14 05:36:30 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for replying.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.About the memory storage, can u tell me the exact number of bytes a floating point number occupies?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.How to check the number of clock cycles it takes to execute and instruction in lpcxpresso?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561469#M16342</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: floating point operations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561470#M16343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Sun Aug 14 07:47:53 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1. A float take 4 bytes, and a double takes 8 bytes. This is standard across just about any processor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Search the forum... &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=2040&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561470#M16343</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: floating point operations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561471#M16344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Sun Aug 14 23:12:18 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Floating point number are stored according to the IEEE 754 standard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Psc.edu has a nice article (&lt;/SPAN&gt;&lt;A href="http://http://www.psc.edu/general/software/packages/ieee/ieee.php"&gt;link&lt;/A&gt;&lt;SPAN&gt;) with a very short description of the format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A more elaborate article can be found on wikipedia (&lt;/SPAN&gt;&lt;A href="http://http://en.wikipedia.org/wiki/IEEE_754-2008"&gt;link&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If, for some reason, you need to look at the binary representation, there is a nice java applet available (&lt;/SPAN&gt;&lt;A href="http://http://www.h-schmidt.net/FloatApplet/IEEE754.html"&gt;link&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As already noted by others; floating point is all done in software and thus slow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Whenever possible have a look at fixed point solutions using integer arithmetic instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561471#M16344</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: floating point operations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561472#M16345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rahulvasist on Mon Aug 15 06:22:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:21:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/floating-point-operations/m-p/561472#M16345</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:21:22Z</dc:date>
    </item>
  </channel>
</rss>

