<?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 cmplx in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/cmplx/m-p/952928#M20032</link>
    <description>I have some problem with the 'cmplx' function: &lt;BR /&gt;Why do 'cmplx' and  'dcmplx' give different &lt;BR /&gt;answers in this case? &lt;BR /&gt; &lt;BR /&gt;        implicit real*8(a-b,d-h,o-z) &lt;BR /&gt;        implicit complex*16 (c) &lt;BR /&gt;        read(1,*)a,b &lt;BR /&gt;        write(6,*)a,b &lt;BR /&gt;        c1=cmplx(a,b) &lt;BR /&gt;        c2=dcmplx(a,b) &lt;BR /&gt;        write(6,*)' cmplx',c1 &lt;BR /&gt;        write(6,*)'dcmplx',c2 &lt;BR /&gt;        end &lt;BR /&gt;=================== &lt;BR /&gt;    input (fort.1) &lt;BR /&gt;   -0.293809357160967 -0.317954183309470 &lt;BR /&gt; &lt;BR /&gt;    output &lt;BR /&gt; &lt;BR /&gt;         -0.293809357160967 -0.317954183309470 &lt;BR /&gt;  cmplx (-0.293809354305267,-0.317954182624817) &lt;BR /&gt; dcmplx (-0.293809357160967,-0.317954183309470) &lt;BR /&gt; &lt;BR /&gt;   if you explicitly insert: &lt;BR /&gt;        a=-0.293809357160967 &lt;BR /&gt;        b=-0.317954183309470 &lt;BR /&gt;    into the program then c1=c2=(a,b) correctly.</description>
    <pubDate>Tue, 29 May 2001 11:47:07 GMT</pubDate>
    <dc:creator>gmendolambigroup_it</dc:creator>
    <dc:date>2001-05-29T11:47:07Z</dc:date>
    <item>
      <title>cmplx</title>
      <link>https://community.intel.com/t5/Software-Archive/cmplx/m-p/952928#M20032</link>
      <description>I have some problem with the 'cmplx' function: &lt;BR /&gt;Why do 'cmplx' and  'dcmplx' give different &lt;BR /&gt;answers in this case? &lt;BR /&gt; &lt;BR /&gt;        implicit real*8(a-b,d-h,o-z) &lt;BR /&gt;        implicit complex*16 (c) &lt;BR /&gt;        read(1,*)a,b &lt;BR /&gt;        write(6,*)a,b &lt;BR /&gt;        c1=cmplx(a,b) &lt;BR /&gt;        c2=dcmplx(a,b) &lt;BR /&gt;        write(6,*)' cmplx',c1 &lt;BR /&gt;        write(6,*)'dcmplx',c2 &lt;BR /&gt;        end &lt;BR /&gt;=================== &lt;BR /&gt;    input (fort.1) &lt;BR /&gt;   -0.293809357160967 -0.317954183309470 &lt;BR /&gt; &lt;BR /&gt;    output &lt;BR /&gt; &lt;BR /&gt;         -0.293809357160967 -0.317954183309470 &lt;BR /&gt;  cmplx (-0.293809354305267,-0.317954182624817) &lt;BR /&gt; dcmplx (-0.293809357160967,-0.317954183309470) &lt;BR /&gt; &lt;BR /&gt;   if you explicitly insert: &lt;BR /&gt;        a=-0.293809357160967 &lt;BR /&gt;        b=-0.317954183309470 &lt;BR /&gt;    into the program then c1=c2=(a,b) correctly.</description>
      <pubDate>Tue, 29 May 2001 11:47:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cmplx/m-p/952928#M20032</guid>
      <dc:creator>gmendolambigroup_it</dc:creator>
      <dc:date>2001-05-29T11:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: cmplx</title>
      <link>https://community.intel.com/t5/Software-Archive/cmplx/m-p/952929#M20033</link>
      <description>You might find Dave Eklund's article "Perils of Real Numbers (Part I)" in CVF Newsletter VIII to be useful reading - I am looking forward to Part II. &lt;BR /&gt; &lt;BR /&gt;Bear of little brain</description>
      <pubDate>Tue, 29 May 2001 14:20:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cmplx/m-p/952929#M20033</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-29T14:20:28Z</dc:date>
    </item>
  </channel>
</rss>

