<?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 Re: Help translate 16-bit REALs to 32-bit REALs in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829586#M51720</link>
    <description>&lt;P&gt;A 16-bit real sounds mighty fishy!&lt;/P&gt;
&lt;P&gt;If it has a 38 plus or minus range exponent, that uses up 8 bits, leaving only 8 bits for significant digits. And just barely digits, as a byte only gives you a smidgen over two significant digits.&lt;/P&gt;
&lt;P&gt;they're probably 32-bit reals. Peer at the code some more and see if that might be happening.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Mar 2007 19:58:36 GMT</pubDate>
    <dc:creator>grg99</dc:creator>
    <dc:date>2007-03-23T19:58:36Z</dc:date>
    <item>
      <title>Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829580#M51714</link>
      <description>&lt;P&gt;I am updatingcode which reads from an older device (SLC500 PLC) which uses 16-bit reals, delivered raw as two bytes, possibly in IEEE format. This used to work directly with 16-bit MS Fortran.&lt;/P&gt;
&lt;P&gt;IVF does not seem to have back-compatible support for REAL*2. I would be very appreciative if anyone could provide/link to code which translates 2-byte reals to 4-byte reals.&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;
&lt;P&gt;Paul Curtis&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2007 01:58:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829580#M51714</guid>
      <dc:creator>Paul_Curtis</dc:creator>
      <dc:date>2007-03-23T01:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829581#M51715</link>
      <description>&lt;P&gt;It's not going to be anything like IEEE format. There is a 16-bit floating format used by graphics processors, but I don't think there's a standard. All the 16-bit Fortrans I knew used 32-bit reals - there aren't enough bits in a 16-bit type to do anything useful for most scientific and engineering applications.&lt;/P&gt;
&lt;P&gt;So far, I've been unable to find any documentation on a float format the SLC500 may have used. Do you have any? Or do you have sample values in hex and decimal?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2007 02:09:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829581#M51715</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-03-23T02:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829582#M51716</link>
      <description>&lt;P&gt;Steve, thanks for the immediate reply.&lt;/P&gt;
&lt;P&gt;My recollection is that in previous incarnations the two data bytes were simply equivalenced (directly, or maybe in swapped order) to a 16-bit REAL and the value magically appeared, but I could be mistaken. A-B says theirREAL value range is 10**38, whichseems right for 16-bit REAL format.My post was submitted aftermy own fruitless search for A-B's format details, but finding any info from that company is always a major Easter-egg hunt.I will continue searching for A-B documentation.&lt;/P&gt;
&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2007 02:26:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829582#M51716</guid>
      <dc:creator>Paul_Curtis</dc:creator>
      <dc:date>2007-03-23T02:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829583#M51717</link>
      <description>I don't quite understand one thing -- the old device may have used some secretive 16-bit real format all right, but then the said MS Fortran, whatever version, must have recognized it, right? Like Steve said, I don't see any evidence that any Fortrans had a 16-bit REAL in this millenium. So, how did it work on the original system in the first place? Am I discovering a &lt;A href="http://en.wikipedia.org/wiki/Schroedinbug#Schroedinbugs"&gt;schroedinbug&lt;/A&gt; perhaps?&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Mar 2007 09:19:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829583#M51717</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-03-23T09:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829584#M51718</link>
      <description>After some Googling, I found some &lt;I&gt;hints&lt;/I&gt; (rather than explicit statements) that it rather was equivalencing of two 16-bit integers into one 32-bit float, or perhaps even 32-bit integer. See &lt;A href="http://dl.softplc.com/splcmisc.pdf"&gt;here&lt;/A&gt;, &lt;A href="http://www.plctalk.net/qanda/archive/index.php/t-152.html"&gt;here&lt;/A&gt;, and especially &lt;A href="http://elpro.com.au/UserFiles/File/Applications/app_SLC_Integer_Convert_1.1.pdf"&gt;here&lt;/A&gt;. (Note that PLCs are Greek to me, so I'm stabbing in the dark).&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Mar 2007 09:45:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829584#M51718</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-03-23T09:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829585#M51719</link>
      <description>&lt;P&gt;If we had some hex values to look at, with known decimal equivalents, that would help. That the range is 10**38 tells you that the exponent is 8 bits, but it doesn't tell you what the exponent bias is nor where the implied radix point is in the fraction. There are several variations of this so you can't assume anything. It could even use hex normalization like the IBM 360, but I doubt it. You also need to know the byte ordering.&lt;/P&gt;
&lt;P&gt;Most likely, it is similar to an IEEE single but with only 7 fraction bits. That would make some sense for a PLC.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2007 14:55:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829585#M51719</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-03-23T14:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829586#M51720</link>
      <description>&lt;P&gt;A 16-bit real sounds mighty fishy!&lt;/P&gt;
&lt;P&gt;If it has a 38 plus or minus range exponent, that uses up 8 bits, leaving only 8 bits for significant digits. And just barely digits, as a byte only gives you a smidgen over two significant digits.&lt;/P&gt;
&lt;P&gt;they're probably 32-bit reals. Peer at the code some more and see if that might be happening.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2007 19:58:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829586#M51720</guid>
      <dc:creator>grg99</dc:creator>
      <dc:date>2007-03-23T19:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829587#M51721</link>
      <description>&lt;P&gt;7 fraction bits. You forgot the sign bit.&lt;/P&gt;
&lt;P&gt;I have heard of such things, mainly in graphics processing. I could believe that they could be used in some devices that don't need a whole lot of precision.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2007 20:26:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829587#M51721</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-03-23T20:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829588#M51722</link>
      <description>&lt;P&gt;&amp;gt; fraction bits. You forgot the sign bit.&lt;/P&gt;
&lt;P&gt;Yep, I did. And you forgot the (possible) assumed most significant bit that's always a "1" in the newer FP formats. So we're back to eight lousy bits of significand. Not exactly high-precison but perhaps good enough for some video or process-control applications. &lt;/P&gt;
&lt;P&gt;But as I look up "Allen-Bradley reals" they talk of reals taking up two registers, or a DWORD, which sounds more like 32 bits&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2007 21:35:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829588#M51722</guid>
      <dc:creator>grg99</dc:creator>
      <dc:date>2007-03-23T21:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help translate 16-bit REALs to 32-bit REALs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829589#M51723</link>
      <description>I didn't forget the hidden bit but agree it should have been counted.</description>
      <pubDate>Sat, 24 Mar 2007 00:15:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-translate-16-bit-REALs-to-32-bit-REALs/m-p/829589#M51723</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-03-24T00:15:05Z</dc:date>
    </item>
  </channel>
</rss>

