<?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 Ceiling Function in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788722#M31440</link>
    <description>This was fixed in version 12.</description>
    <pubDate>Wed, 16 Feb 2011 20:32:34 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2011-02-16T20:32:34Z</dc:date>
    <item>
      <title>Ceiling Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788716#M31434</link>
      <description>Hello:&lt;BR /&gt;&lt;BR /&gt;I feel like I'm missing something very basic. I have created the following test program that is the following 4 lines:&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;program Test&lt;/P&gt;&lt;P&gt;integer :: i = ceiling(2.0d0)&lt;/P&gt;&lt;P&gt;write(6, '(2I)') ceiling(2.0d0), i&lt;/P&gt;&lt;P&gt;end program Test&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;Why does it give me a result of 2 and 3? Shouldn't it be 2 for both parts of the write statement?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Michael</description>
      <pubDate>Mon, 28 Jun 2010 19:26:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788716#M31434</guid>
      <dc:creator>Michael8</dc:creator>
      <dc:date>2010-06-28T19:26:41Z</dc:date>
    </item>
    <item>
      <title>Ceiling Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788717#M31435</link>
      <description>Yes, it should. This looks like a bug. Thanks. I'll report it. Issue ID is DPD200157393.</description>
      <pubDate>Mon, 28 Jun 2010 19:43:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788717#M31435</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-06-28T19:43:04Z</dc:date>
    </item>
    <item>
      <title>Ceiling Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788718#M31436</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman;"&gt;OK, thanks. For a while there, I thought I was going insane.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Michael&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2010 19:55:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788718#M31436</guid>
      <dc:creator>Michael8</dc:creator>
      <dc:date>2010-06-28T19:55:32Z</dc:date>
    </item>
    <item>
      <title>Ceiling Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788719#M31437</link>
      <description>The issue seems to be the use in an "initialization expression". This is evaluated at compile-time and it seems, in this case, incorrectly. This bug has been there a long time, it would seem...</description>
      <pubDate>Mon, 28 Jun 2010 20:18:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788719#M31437</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-06-28T20:18:03Z</dc:date>
    </item>
    <item>
      <title>Ceiling Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788720#M31438</link>
      <description>Yes, I noticed it was just a problem during initialization. The easy workaround would be to just have the declaration and the initialization as 2 separate steps. The problem we're having with that is that we're trying to use it to initialize a parameter, so we can't break it up.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Michael</description>
      <pubDate>Mon, 28 Jun 2010 20:22:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788720#M31438</guid>
      <dc:creator>Michael8</dc:creator>
      <dc:date>2010-06-28T20:22:01Z</dc:date>
    </item>
    <item>
      <title>Ceiling Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788721#M31439</link>
      <description>If you know that the value is positive, you can substitute this:&lt;BR /&gt;&lt;BR /&gt;int(X - spacing(X)) + 1&lt;BR /&gt;&lt;BR /&gt;It's a bit of a hack but I think it gives the same result. If the value can be negative, then one can be creative like this:&lt;BR /&gt;&lt;BR /&gt;sign(int(abs(X) - spacing(X)) + 1,int(x))</description>
      <pubDate>Mon, 28 Jun 2010 20:50:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788721#M31439</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-06-28T20:50:37Z</dc:date>
    </item>
    <item>
      <title>Ceiling Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788722#M31440</link>
      <description>This was fixed in version 12.</description>
      <pubDate>Wed, 16 Feb 2011 20:32:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788722#M31440</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-02-16T20:32:34Z</dc:date>
    </item>
    <item>
      <title>Ceiling Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788723#M31441</link>
      <description>Thanks, Steve!&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 16 Feb 2011 20:39:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ceiling-Function/m-p/788723#M31441</guid>
      <dc:creator>Michael8</dc:creator>
      <dc:date>2011-02-16T20:39:31Z</dc:date>
    </item>
  </channel>
</rss>

