<?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 IEEE Floating Point Problems in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975233#M89</link>
    <description>I have an application writen in C. The application is complied and linked to use IEEE floating point. The enclosed text file is from a debug session. Can any one explain what I am doing wrong.</description>
    <pubDate>Fri, 16 May 2003 13:32:54 GMT</pubDate>
    <dc:creator>Joseph DiCara</dc:creator>
    <dc:date>2003-05-16T13:32:54Z</dc:date>
    <item>
      <title>IEEE Floating Point Problems</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975233#M89</link>
      <description>I have an application writen in C. The application is complied and linked to use IEEE floating point. The enclosed text file is from a debug session. Can any one explain what I am doing wrong.</description>
      <pubDate>Fri, 16 May 2003 13:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975233#M89</guid>
      <dc:creator>Joseph DiCara</dc:creator>
      <dc:date>2003-05-16T13:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: IEEE Floating Point Problems</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975234#M90</link>
      <description>It may be late in the middle of the night, but I don't see any problem.  Can you be more explicit?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 17 May 2003 06:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975234#M90</guid>
      <dc:creator>Stanley F Quayle</dc:creator>
      <dc:date>2003-05-17T06:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: IEEE Floating Point Problems</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975235#M91</link>
      <description>All three calculations should have the same result. The first answer calculates to 101.355010986328. I then multiply all the numbers (except the divisor by 100) and the result is 10135.5000000000. If the first calculation was correct,then the second answer should have been 10135.5010986328. In the last step. I multiply the divsior by 100 and the result is 101.355000000000. Which is what the first calculation should have returned as the answer.&lt;BR /&gt;&lt;BR /&gt;The question is "Why is the first calculation wrong ?".&lt;BR /&gt;</description>
      <pubDate>Mon, 19 May 2003 12:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975235#M91</guid>
      <dc:creator>Joseph DiCara</dc:creator>
      <dc:date>2003-05-19T12:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: IEEE Floating Point Problems</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975236#M92</link>
      <description>I'd be willing to bet that if you assigned each of the individual numbers to variables, and looked at their values, one or more won't be represented exactly.  You're thinking in terms of decimal, while the computer is binary -- it's sort of the difference between 1/3 and .333333.&lt;BR /&gt;&lt;BR /&gt;You might look at double-precision floating-point, although I'm not sure how to do that in the debugger.  That should make the "error" different, but still not zero.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 May 2003 12:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975236#M92</guid>
      <dc:creator>Stanley F Quayle</dc:creator>
      <dc:date>2003-05-19T12:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: IEEE Floating Point Problems</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975237#M93</link>
      <description>I'd like to know what is it that you are trying&lt;BR /&gt;to fix. Do you have problems in runtime or&lt;BR /&gt;only in the debugger?&lt;BR /&gt;&lt;BR /&gt;From your output it looks like you are using&lt;BR /&gt;VMS V7.1, most of the fixes for IEEE related &lt;BR /&gt;bugs are not available on V7.1&lt;BR /&gt;&lt;BR /&gt;Guy</description>
      <pubDate>Mon, 19 May 2003 13:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ieee-floating-point-problems/m-p/2975237#M93</guid>
      <dc:creator>Guy Peleg</dc:creator>
      <dc:date>2003-05-19T13:40:30Z</dc:date>
    </item>
  </channel>
</rss>

