<?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 Thanks for the more complete in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139420#M136810</link>
    <description>&lt;P&gt;Thanks for the more complete information. That's a compiler bug, still present in 18. Please report it to Intel using the &lt;A href="http://www.intel.com/supporttickets"&gt;Online Service Center&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;In the meantime I would recommend against using /fpconstant - this option should be avoided anyway as it papers over nonportable and nonstandard code.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2017 13:41:25 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2017-10-11T13:41:25Z</dc:date>
    <item>
      <title>Intrinsic Function HUGE result is 0.0</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139414#M136804</link>
      <description>&lt;P&gt;I am use Intel Fortran XE 17 update 4&lt;/P&gt;

&lt;P&gt;Previously the following code sets the real variable to a very large negative value&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real :: no_lower = -HUGH(1.0)&lt;/P&gt;

&lt;P&gt;Now the variable is set to zero.&amp;nbsp; Did something change in the Fortran standard?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 18:49:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139414#M136804</guid>
      <dc:creator>Ed_Martin</dc:creator>
      <dc:date>2017-10-10T18:49:03Z</dc:date>
    </item>
    <item>
      <title>Did you actually write HUGH</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139415#M136805</link>
      <description>&lt;P&gt;Did you actually write HUGH or HUGE? I get the correct value (in version 18) with HUGE.&lt;/P&gt;

&lt;P&gt;Please show a short but complete example that demonstrates the problem, the compilation command you used and the output.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 19:19:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139415#M136805</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2017-10-10T19:19:20Z</dc:date>
    </item>
    <item>
      <title>If he actually write "HUGH",</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139416#M136806</link>
      <description>&lt;P&gt;If he actually wrote "HUGH", that would be a non-standard function, and the linking of the program would have failed, unless there was a function called HUGH in the user's code or in some library provided by the user. Therefore, it is mysterious how the program could have been compiled, linked and run to the point where it produced output, erroneous as that output might have been!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 19:34:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139416#M136806</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2017-10-10T19:34:00Z</dc:date>
    </item>
    <item>
      <title>I actually used HUGE(1.0).</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139417#M136807</link>
      <description>&lt;P&gt;I actually used HUGE(1.0). Sorry for the typo.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 19:37:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139417#M136807</guid>
      <dc:creator>Ed_Martin</dc:creator>
      <dc:date>2017-10-10T19:37:15Z</dc:date>
    </item>
    <item>
      <title>I figured as much - and yes,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139418#M136808</link>
      <description>&lt;P&gt;I figured as much - and yes, HUGH would have triggered multiple errors. Please show an example that demonstrates the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 20:00:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139418#M136808</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2017-10-10T20:00:56Z</dc:date>
    </item>
    <item>
      <title>Here's a program that</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139419#M136809</link>
      <description>&lt;P&gt;Here's a program that demonstrates the issue:&lt;/P&gt;

&lt;P&gt;!&amp;nbsp; T_HUGE.f90&lt;BR /&gt;
	!&lt;BR /&gt;
	!&amp;nbsp; FUNCTIONS:&lt;BR /&gt;
	!&amp;nbsp; T_HUGE - Entry point of console application.&lt;BR /&gt;
	!&lt;/P&gt;

&lt;P&gt;!****************************************************************************&lt;BR /&gt;
	!&lt;BR /&gt;
	!&amp;nbsp; PROGRAM: T_HUGE&lt;BR /&gt;
	!&lt;BR /&gt;
	!&amp;nbsp; PURPOSE:&amp;nbsp; Entry point for the console application.&lt;BR /&gt;
	!&lt;BR /&gt;
	!****************************************************************************&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; program T_HUGE&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! Variables&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; real :: no_upper_limit = HUGE(1.0)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; real :: no_lower_limit = -HUGE(1.0)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! Body of T_HUGE&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *, 'Hello World'&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *, 'no_upper_limit =', no_upper_limit&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *, 'no_lower_limit =', no_lower_limit&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *,'&amp;lt;press return to end&amp;gt;'&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; read *&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end program T_HUGE&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Command line:&lt;/P&gt;

&lt;P&gt;/nologo /debug:full /Od /warn:interfaces /fpconstant /module:"Debug\\" /object:"Debug\\" /Fd"Debug\vc150.pdb" /traceback /check:bounds /check:stack /libs:dll /threads /dbglibs /c&lt;/P&gt;

&lt;P&gt;Output:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Hello World&lt;BR /&gt;
	&amp;nbsp;no_upper_limit =&amp;nbsp; 3.4028235E+38&lt;BR /&gt;
	&amp;nbsp;no_lower_limit =&amp;nbsp; 0.0000000E+00&lt;BR /&gt;
	&amp;nbsp;&amp;lt;press return to end&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The critical option is /fpconstant.&amp;nbsp; Without it the no_lower_limit = -3.4028235E+38&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 11:22:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139419#M136809</guid>
      <dc:creator>Ed_Martin</dc:creator>
      <dc:date>2017-10-11T11:22:10Z</dc:date>
    </item>
    <item>
      <title>Thanks for the more complete</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139420#M136810</link>
      <description>&lt;P&gt;Thanks for the more complete information. That's a compiler bug, still present in 18. Please report it to Intel using the &lt;A href="http://www.intel.com/supporttickets"&gt;Online Service Center&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;In the meantime I would recommend against using /fpconstant - this option should be avoided anyway as it papers over nonportable and nonstandard code.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 13:41:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intrinsic-Function-HUGE-result-is-0-0/m-p/1139420#M136810</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2017-10-11T13:41:25Z</dc:date>
    </item>
  </channel>
</rss>

