<?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 Cannot set a complex(8)'s imaginary component to ieee_signaling_nan in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-set-a-complex-8-s-imaginary-component-to-ieee-signaling/m-p/1747543#M178844</link>
    <description>&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Compiler&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;: ifx (IFX) 2026.0.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;OS&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;: Ubuntu 22.04.05 LTS (Jammy Jellyfish)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;The imaginary part of a complex(8) number cannot successfully be set to ieee_signaling_nan. When displayed, it correct shows "NaN", but when compared using ieee_class to ieee_signaling_nan, it comes up false.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Please see the following example; it is also attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;program main

    use, intrinsic :: ieee_arithmetic

    implicit none
    complex(8) :: c8

    c8 = cmplx(0d0, ieee_value(c8%im,ieee_signaling_nan))

    print *, c8
    print *, c8%im
    print *, ieee_class(c8%im)    == ieee_signaling_nan
    print *, ieee_class(imag(c8)) == ieee_signaling_nan

end program&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the real part of the complex(8) can be set to ieee_signaling_nan, and the complex(4) case works for real, imaginary, and both.&lt;/P&gt;</description>
    <pubDate>Mon, 11 May 2026 16:05:38 GMT</pubDate>
    <dc:creator>WileyOne</dc:creator>
    <dc:date>2026-05-11T16:05:38Z</dc:date>
    <item>
      <title>Cannot set a complex(8)'s imaginary component to ieee_signaling_nan</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-set-a-complex-8-s-imaginary-component-to-ieee-signaling/m-p/1747543#M178844</link>
      <description>&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Compiler&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;: ifx (IFX) 2026.0.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;OS&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;: Ubuntu 22.04.05 LTS (Jammy Jellyfish)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;The imaginary part of a complex(8) number cannot successfully be set to ieee_signaling_nan. When displayed, it correct shows "NaN", but when compared using ieee_class to ieee_signaling_nan, it comes up false.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Please see the following example; it is also attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;program main

    use, intrinsic :: ieee_arithmetic

    implicit none
    complex(8) :: c8

    c8 = cmplx(0d0, ieee_value(c8%im,ieee_signaling_nan))

    print *, c8
    print *, c8%im
    print *, ieee_class(c8%im)    == ieee_signaling_nan
    print *, ieee_class(imag(c8)) == ieee_signaling_nan

end program&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the real part of the complex(8) can be set to ieee_signaling_nan, and the complex(4) case works for real, imaginary, and both.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2026 16:05:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-set-a-complex-8-s-imaginary-component-to-ieee-signaling/m-p/1747543#M178844</guid>
      <dc:creator>WileyOne</dc:creator>
      <dc:date>2026-05-11T16:05:38Z</dc:date>
    </item>
  </channel>
</rss>

