<?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 Intel Fortran compiler in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler/m-p/911415#M83547</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using intel fortran 10.0.023 for my simulations. I am trying to carry out specific computation which works on few computers and does not work on others. The statement is as follows.&lt;/P&gt;
&lt;P&gt;DO i=1,3&lt;BR /&gt; IF (position(i) == TWOPI) THEN&lt;BR /&gt; position(i) = TWOPI - 1E-6&lt;BR /&gt; END IF&lt;BR /&gt; END DO&lt;/P&gt;
&lt;P&gt;Can you please let me know ifthere is anythingto be changed here? &lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sasidhar&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2008 00:12:24 GMT</pubDate>
    <dc:creator>ksasidhar</dc:creator>
    <dc:date>2008-03-25T00:12:24Z</dc:date>
    <item>
      <title>Intel Fortran compiler</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler/m-p/911415#M83547</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using intel fortran 10.0.023 for my simulations. I am trying to carry out specific computation which works on few computers and does not work on others. The statement is as follows.&lt;/P&gt;
&lt;P&gt;DO i=1,3&lt;BR /&gt; IF (position(i) == TWOPI) THEN&lt;BR /&gt; position(i) = TWOPI - 1E-6&lt;BR /&gt; END IF&lt;BR /&gt; END DO&lt;/P&gt;
&lt;P&gt;Can you please let me know ifthere is anythingto be changed here? &lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sasidhar&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2008 00:12:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler/m-p/911415#M83547</guid>
      <dc:creator>ksasidhar</dc:creator>
      <dc:date>2008-03-25T00:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Fortran compiler</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler/m-p/911416#M83548</link>
      <description>&lt;P&gt;Sasidhar,&lt;/P&gt;
&lt;P&gt;Is position real(4) or real(8)?&lt;BR /&gt;is TWOPI real(4) or real(8)?&lt;/P&gt;
&lt;P&gt;If TWOPI = 3.14159..., is 3.14159... a single precisionor double precision constant? (Match the literal type with the variable type as constants are not promoted)&lt;/P&gt;
&lt;P&gt;1E-6 is single precision. Subtracting a 1E-6 from a 3E+0 will require 7 digits of precision which are not available in single precision.&lt;/P&gt;
&lt;P&gt;If position and TWOPI are real(8) then use 1D-6 for the literal or perhapse you are looking for&lt;/P&gt;
&lt;P&gt;position(i) = TWOPI- TINY(TWOPI)&lt;/P&gt;
&lt;P&gt;This will produce the largest number less than TWOPI representable in the precision of what is used for TWOPI. (Hopefully position is the same precision as TWOPI).&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2008 04:25:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler/m-p/911416#M83548</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2008-03-25T04:25:19Z</dc:date>
    </item>
  </channel>
</rss>

