<?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: bug report: intel fortran compiler 9.1, intrinsic function  in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741522#M998</link>
    <description>ps. It is the compiler for Linux.&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Aug 2006 16:26:24 GMT</pubDate>
    <dc:creator>shiyin</dc:creator>
    <dc:date>2006-08-24T16:26:24Z</dc:date>
    <item>
      <title>bug report: intel fortran compiler 9.1, intrinsic function dcosd</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741521#M997</link>
      <description>Try this code:&lt;BR /&gt; &lt;BR /&gt; program testRa&lt;BR /&gt; double precision:: ra&lt;BR /&gt; &lt;BR /&gt; Ra=359.9&lt;BR /&gt; print *,dcosd(Ra),dcosd(Ra-360)&lt;BR /&gt; &lt;BR /&gt; end&lt;BR /&gt;&lt;BR /&gt;compile with ifort (v9.1)&lt;BR /&gt;&lt;BR /&gt;The output is&lt;BR /&gt;0.768461121150065 0.999998476727358&lt;BR /&gt;&lt;BR /&gt;The first number is obviously wrong!!!&lt;BR /&gt;&lt;BR /&gt;Using compiler ifc7.1, the output is correct.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2006 16:21:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741521#M997</guid>
      <dc:creator>shiyin</dc:creator>
      <dc:date>2006-08-24T16:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: bug report: intel fortran compiler 9.1, intrinsic function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741522#M998</link>
      <description>ps. It is the compiler for Linux.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2006 16:26:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741522#M998</guid>
      <dc:creator>shiyin</dc:creator>
      <dc:date>2006-08-24T16:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: bug report: intel fortran compiler 9.1, intrinsic function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741523#M999</link>
      <description>When you take so many risks in your code, a number of things can go wrong, depending on the options you choose, and exact compiler version. What happens if you declare dcosd, and change 359.9 to a double precision constant?&lt;BR /&gt;I don't see a problem until the 10th digit when I run this, but I'm sure I don't have the same compiler build.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2006 21:43:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741523#M999</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2006-08-24T21:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: bug report: intel fortran compiler 9.1, intrinsic function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741524#M1000</link>
      <description>dcosd is an intrinsic so you don't need to declare it. Tim is correct that the 359.9 should be 359.9D0, but that doesn't make a large difference.&lt;BR /&gt;&lt;BR /&gt;I can't reproduce the results you are seeing. I get:&lt;BR /&gt;&lt;BR /&gt; 0.999998476727358 0.999998476727358&lt;BR /&gt;&lt;BR /&gt;if I use 359.9D0 I get:&lt;BR /&gt;&lt;BR /&gt; 0.999998476913288 0.999998476913288&lt;BR /&gt;&lt;BR /&gt;What is the exact version of the compiler you are using? If 9.1.037, which is the latest, please send a test case to Intel Premier Support.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2006 23:09:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/bug-report-intel-fortran-compiler-9-1-intrinsic-function-dcosd/m-p/741524#M1000</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-08-24T23:09:37Z</dc:date>
    </item>
  </channel>
</rss>

