<?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: CASE construct, but with reals in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/CASE-construct-but-with-reals/m-p/930272#M14619</link>
    <description>Nope - can't use REALs.  Keep in mind that comparing REALs for equality is often a source of trouble, as sometimes a computed result isn't &lt;B&gt;exactly&lt;/B&gt; the decimal value you think it is.  Depending on what your values are, perhaps you could convert the value to integer and CASE on that?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Wed, 06 Dec 2000 05:21:29 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2000-12-06T05:21:29Z</dc:date>
    <item>
      <title>CASE construct, but with reals</title>
      <link>https://community.intel.com/t5/Software-Archive/CASE-construct-but-with-reals/m-p/930271#M14618</link>
      <description>Apparently I can't use a REAL variable as the case expression in a CASE consruct.  Is there any similar construct in which I can do effectively the same thing using a REAL, or am I relegated to a series of IF ... THENs?</description>
      <pubDate>Wed, 06 Dec 2000 02:43:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/CASE-construct-but-with-reals/m-p/930271#M14618</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2000-12-06T02:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: CASE construct, but with reals</title>
      <link>https://community.intel.com/t5/Software-Archive/CASE-construct-but-with-reals/m-p/930272#M14619</link>
      <description>Nope - can't use REALs.  Keep in mind that comparing REALs for equality is often a source of trouble, as sometimes a computed result isn't &lt;B&gt;exactly&lt;/B&gt; the decimal value you think it is.  Depending on what your values are, perhaps you could convert the value to integer and CASE on that?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 06 Dec 2000 05:21:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/CASE-construct-but-with-reals/m-p/930272#M14619</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2000-12-06T05:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: CASE construct, but with reals</title>
      <link>https://community.intel.com/t5/Software-Archive/CASE-construct-but-with-reals/m-p/930273#M14620</link>
      <description>Thanks, anyway.  Yes, I am familiar with the hazards of comparing reals. &lt;BR /&gt; &lt;BR /&gt;Now I just have to decide which is uglier, the IF..THENs, or the conversion to an INTEGER case expression.</description>
      <pubDate>Wed, 06 Dec 2000 05:30:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/CASE-construct-but-with-reals/m-p/930273#M14620</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2000-12-06T05:30:27Z</dc:date>
    </item>
  </channel>
</rss>

