<?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中的主题 Re: unsigned 64 bit integer not available</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/unsigned-64-bit-integer-not-available/m-p/179154#M6435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do your own 64bit integer routines. These should be available on the net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If execution time isn't issue and 52bits (0..+-2^52) are enough, then just use double instead of long long. Result of *-+/ should be the same, except that int/int may introduce fractional part and different behaviour on overflows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request imrpovement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2009 19:14:54 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2009-05-07T19:14:54Z</dc:date>
    <item>
      <title>unsigned 64 bit integer not available</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/unsigned-64-bit-integer-not-available/m-p/179153#M6434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use unsigned 64bit integer on an HCS12, as e.g.,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
unsigned long long var1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it turns out that it is always allocated as 32 bit unsigned. Upon checking the "Type Sizes" in the compiler options, I see that "long long" is declared as 32-bits. I cannot change it to 64-bits because that column is disabled.&lt;/P&gt;&lt;P&gt;Any ideas on how to overcome this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;deneb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/unsigned-64-bit-integer-not-available/m-p/179153#M6434</guid>
      <dc:creator>deneb</dc:creator>
      <dc:date>2020-10-29T09:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: unsigned 64 bit integer not available</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/unsigned-64-bit-integer-not-available/m-p/179154#M6435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do your own 64bit integer routines. These should be available on the net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If execution time isn't issue and 52bits (0..+-2^52) are enough, then just use double instead of long long. Result of *-+/ should be the same, except that int/int may introduce fractional part and different behaviour on overflows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request imrpovement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 19:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/unsigned-64-bit-integer-not-available/m-p/179154#M6435</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2009-05-07T19:14:54Z</dc:date>
    </item>
  </channel>
</rss>

