<?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 Badly Formatted Output in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838693#M56767</link>
    <description>&lt;P&gt;I have a small routine that I am using to generate parameters for a table that is going into another piece of code. Some of the numbers are more than 10**100 (or less than 10**-100) which creates an odd output. I am using D25.16 and getting something like&lt;FONT size="2"&gt;0.21501611+101&lt;/FONT&gt; which does not have the D in it.&lt;/P&gt;
&lt;P&gt;Is there a way to specify the D format so that it will put the D in, even when the order of magnitude has more than two digits?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jun 2007 19:03:41 GMT</pubDate>
    <dc:creator>mattsdad</dc:creator>
    <dc:date>2007-06-12T19:03:41Z</dc:date>
    <item>
      <title>Badly Formatted Output</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838693#M56767</link>
      <description>&lt;P&gt;I have a small routine that I am using to generate parameters for a table that is going into another piece of code. Some of the numbers are more than 10**100 (or less than 10**-100) which creates an odd output. I am using D25.16 and getting something like&lt;FONT size="2"&gt;0.21501611+101&lt;/FONT&gt; which does not have the D in it.&lt;/P&gt;
&lt;P&gt;Is there a way to specify the D format so that it will put the D in, even when the order of magnitude has more than two digits?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2007 19:03:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838693#M56767</guid>
      <dc:creator>mattsdad</dc:creator>
      <dc:date>2007-06-12T19:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Badly Formatted Output</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838694#M56768</link>
      <description>Use E format, with exponent width specified, e.g. E26.16e5, standard since 30 years ago. G, EN, and ES formats also accept exponent width specification. Sorry, you have to accept the E instead of D if you want to do this by a standard format. It's in the E and D editing section of ifort .chm help file.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jun 2007 20:49:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838694#M56768</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2007-06-12T20:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Badly Formatted Output</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838695#M56769</link>
      <description>&lt;P&gt;I have had problems where if the text in the file contains E format that the input parser reads into an E temp (real(4)) eventhough you may be reading into a double (real(8)) float. When this happens precision is lost.&lt;/P&gt;
&lt;P&gt;The poster wanted the output text file to contain D for use later when file is re-read.&lt;/P&gt;
&lt;P&gt;I suppose as a hack one could write to an internal file (character string) and then replace E with D.&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2007 21:43:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838695#M56769</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2007-06-12T21:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Badly Formatted Output</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838696#M56770</link>
      <description>Jim, I think you have a misconception (if I read your post correctly). For the purpose of READing, it doesn't matter at all whether the input string is in E or D format. Actually, D format is totally superfluous, and (as far as I can tell) it doesn't carry any additional semantics compared with E, and is effectively obsolescent (though not declared as such in the Fortran standard).&lt;BR /&gt;&lt;BR /&gt;The behavior mattsdad described (D or E omitted when exponent is greater than 99) is in the VF reference manual and prescribed as such in the Fortran Standard (10.6.1.2.2, "E and D editing"). Thus, nothing to worry about. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jun 2007 07:28:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838696#M56770</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-06-13T07:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Badly Formatted Output</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838697#M56771</link>
      <description>The E format works fine. Thanks</description>
      <pubDate>Wed, 13 Jun 2007 13:56:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Badly-Formatted-Output/m-p/838697#M56771</guid>
      <dc:creator>mattsdad</dc:creator>
      <dc:date>2007-06-13T13:56:24Z</dc:date>
    </item>
  </channel>
</rss>

