<?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>S12 / MagniV Microcontrollersのトピック64 bit integers in C</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/64-bit-integers-in-C/m-p/136346#M2391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to calculate 32*16 bit integer multiplication whete result may get longer than 32 bits. Is it possible to do 64 bit math in 56800E C compiler? In gcc type 'long long' equals 64 bit integer but is there equivalent in CW?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also would be happy if result would saturate to 32 bits. How does saturation logic work in C? I haven't seen much documentation about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using 56F8322 and CW 8.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2006 04:16:50 GMT</pubDate>
    <dc:creator>GD</dc:creator>
    <dc:date>2006-11-13T04:16:50Z</dc:date>
    <item>
      <title>64 bit integers in C</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/64-bit-integers-in-C/m-p/136346#M2391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to calculate 32*16 bit integer multiplication whete result may get longer than 32 bits. Is it possible to do 64 bit math in 56800E C compiler? In gcc type 'long long' equals 64 bit integer but is there equivalent in CW?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also would be happy if result would saturate to 32 bits. How does saturation logic work in C? I haven't seen much documentation about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using 56F8322 and CW 8.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 04:16:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/64-bit-integers-in-C/m-p/136346#M2391</guid>
      <dc:creator>GD</dc:creator>
      <dc:date>2006-11-13T04:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bit integers in C</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/64-bit-integers-in-C/m-p/136347#M2392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;I don't believe that CW has built-in support for extended integers, but you can easily write it yourself. Download this book: &lt;A href="http://www.esnips.com/doc/9f6939e0-2f38-4b7c-bf73-2db477f3d000" target="test_blank"&gt;http://www.esnips.com/doc/9f6939e0-2f38-4b7c-bf73-2db477f3d000&lt;/A&gt;&lt;BR /&gt;It is full of tricky and speed optimized algorithms and I'm sure it helps solving your problem...&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 04:26:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/64-bit-integers-in-C/m-p/136347#M2392</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2006-11-18T04:26:30Z</dc:date>
    </item>
  </channel>
</rss>

