<?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 Wrong answer in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Wrong-answer/m-p/955626#M20735</link>
    <description>In executing this section of code in DVF 6.5A an incorrect answer is calculated for "q.efg(i).pos.e." I set a breakpoint at this line. Before pressing the F11 key to step into this statemnet, the values of the affected variables displayed in the watch window were: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="+0"&gt;&lt;PRE&gt;
	i =1 
	q,n_of_vectors = 1 
	q.step = 0.500000000 
	q.efg(i).pos.e = 1571.38499309947 
	q.prior_efg(i).pos.e = 1571.38499309947 
	q.prior_efg(i).vel.e = 3.97531397560359 
	a1(i).e = -2.1438381921103193E-003 
&lt;/PRE&gt;&lt;/FONT&gt;&lt;BR /&gt; &lt;BR /&gt;After pressing the F11 key to step into the statement, the &lt;BR /&gt;value of "q.efg(i).pos.e" changes to 0.993761498957395. When running the same program in DVF 5.0A the value of "q.efg(i).pos.e" is calculated as 1572.37865459843. Using a calculator out to the sixth decimal place the answer is 1572.378888.   &lt;BR /&gt; &lt;BR /&gt;&lt;FONT size="+0"&gt;&lt;PRE&gt;
             do 230 i=1, q.n_of_vectors 
                q.efg(i).pos.e  
     +                 =q.prior_efg(i).pos.e 
     +                 +(q.step/2.0d0)*q.prior_efg(i).vel.e 
     +                 +(q.step*q.step/8.0d0)*a1(i).e 
                q.efg(i).vel.e  
     +                 =q.prior_efg(i).vel.e 
     +                 +(q.step/2.0d0)*a1(i).e          
                q.efg(i).pos.f  
     +                 =q.prior_efg(i).pos.f 
     +                 +(q.step/2.0d0)*q.prior_efg(i).vel.f 
     +                 +(q.step*q.step/8.0d0)*a1(i).f 
                q.efg(i).vel.f 
     +                 =q.prior_efg(i).vel.f 
     +                 +(q.step/2.0d0)*a1(i).f          
                q.efg(i).pos.g 
     +                 =q.prior_efg(i).pos.g 
     +                 +(q.step/2.0d0)*q.prior_efg(i).vel.g 
     +                 +(q.step*q.step/8.0d0)*a1(i).g 
                q.efg(i).vel.g 
     +                 =q.prior_efg(i).vel.g 
     +                 +(q.step/2.0d0)*a1(i).g          
230          continue 
&lt;/PRE&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;These are the compiler options I am using in the debug mode. &lt;BR /&gt; &lt;BR /&gt;/check:bounds /check:power /check:overflow /check:underflow &lt;BR /&gt;/compile_only /debug:full /nologo /real_size:64 /traceback &lt;BR /&gt;/warn:argument_checking /warn:nofileopt /module:"Debug&lt;BR /&gt;/" /object:"Debug/" /pdbfile:"Debug&lt;BR /&gt;/DF60.PDB" /alignment &lt;BR /&gt; &lt;BR /&gt;Can anyone help me solve this problem? Is there any other information that I could provide to help someone solve the problem? The only thing I know about compilers is how to spell it.</description>
    <pubDate>Thu, 21 Jun 2001 01:11:44 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-06-21T01:11:44Z</dc:date>
    <item>
      <title>Wrong answer</title>
      <link>https://community.intel.com/t5/Software-Archive/Wrong-answer/m-p/955626#M20735</link>
      <description>In executing this section of code in DVF 6.5A an incorrect answer is calculated for "q.efg(i).pos.e." I set a breakpoint at this line. Before pressing the F11 key to step into this statemnet, the values of the affected variables displayed in the watch window were: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="+0"&gt;&lt;PRE&gt;
	i =1 
	q,n_of_vectors = 1 
	q.step = 0.500000000 
	q.efg(i).pos.e = 1571.38499309947 
	q.prior_efg(i).pos.e = 1571.38499309947 
	q.prior_efg(i).vel.e = 3.97531397560359 
	a1(i).e = -2.1438381921103193E-003 
&lt;/PRE&gt;&lt;/FONT&gt;&lt;BR /&gt; &lt;BR /&gt;After pressing the F11 key to step into the statement, the &lt;BR /&gt;value of "q.efg(i).pos.e" changes to 0.993761498957395. When running the same program in DVF 5.0A the value of "q.efg(i).pos.e" is calculated as 1572.37865459843. Using a calculator out to the sixth decimal place the answer is 1572.378888.   &lt;BR /&gt; &lt;BR /&gt;&lt;FONT size="+0"&gt;&lt;PRE&gt;
             do 230 i=1, q.n_of_vectors 
                q.efg(i).pos.e  
     +                 =q.prior_efg(i).pos.e 
     +                 +(q.step/2.0d0)*q.prior_efg(i).vel.e 
     +                 +(q.step*q.step/8.0d0)*a1(i).e 
                q.efg(i).vel.e  
     +                 =q.prior_efg(i).vel.e 
     +                 +(q.step/2.0d0)*a1(i).e          
                q.efg(i).pos.f  
     +                 =q.prior_efg(i).pos.f 
     +                 +(q.step/2.0d0)*q.prior_efg(i).vel.f 
     +                 +(q.step*q.step/8.0d0)*a1(i).f 
                q.efg(i).vel.f 
     +                 =q.prior_efg(i).vel.f 
     +                 +(q.step/2.0d0)*a1(i).f          
                q.efg(i).pos.g 
     +                 =q.prior_efg(i).pos.g 
     +                 +(q.step/2.0d0)*q.prior_efg(i).vel.g 
     +                 +(q.step*q.step/8.0d0)*a1(i).g 
                q.efg(i).vel.g 
     +                 =q.prior_efg(i).vel.g 
     +                 +(q.step/2.0d0)*a1(i).g          
230          continue 
&lt;/PRE&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;These are the compiler options I am using in the debug mode. &lt;BR /&gt; &lt;BR /&gt;/check:bounds /check:power /check:overflow /check:underflow &lt;BR /&gt;/compile_only /debug:full /nologo /real_size:64 /traceback &lt;BR /&gt;/warn:argument_checking /warn:nofileopt /module:"Debug&lt;BR /&gt;/" /object:"Debug/" /pdbfile:"Debug&lt;BR /&gt;/DF60.PDB" /alignment &lt;BR /&gt; &lt;BR /&gt;Can anyone help me solve this problem? Is there any other information that I could provide to help someone solve the problem? The only thing I know about compilers is how to spell it.</description>
      <pubDate>Thu, 21 Jun 2001 01:11:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Wrong-answer/m-p/955626#M20735</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-06-21T01:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong answer</title>
      <link>https://community.intel.com/t5/Software-Archive/Wrong-answer/m-p/955627#M20736</link>
      <description>I suggest sending a copy of your project as a ZIP archive, including everything necessary to reproduce the problem, to us at vf-support@compaq.com&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 21 Jun 2001 03:39:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Wrong-answer/m-p/955627#M20736</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-06-21T03:39:21Z</dc:date>
    </item>
  </channel>
</rss>

