<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div id="isForwardContent"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><p class="MsoPlainText">Hi,</p><p class="MsoPlainText"><span style="color: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">I have test with follow case, and cann't get correct reslut. I find that Floating-point operations &nbsp;is error, and I don't know where shold start to fixed this question. so if anybody can give some information for which function i should to check.&nbsp;</span></p><p class="MsoPlainText">

</p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">Any help explaining this would be much
appreciated!</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D"></span></p><p class="MsoPlainText" style="color: rgb(0, 0, 0); font-family: arial; ">My Compiler:<span class="Apple-tab-span" style="white-space: pre; ">        </span>MSVS</p><p class="MsoPlainText" style="color: rgb(0, 0, 0); font-family: arial; ">ARCH:<span class="Apple-tab-span" style="white-space: pre; ">                </span>SH4</p><p class="MsoPlainText" style="color: rgb(0, 0, 0); font-family: arial; ">Feature:<span class="Apple-tab-span" style="white-space: pre; ">                </span>JIT</p><p></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D"><br></span></p><p class="MsoPlainText"><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">Javascript code of test case </span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">function jitTestCode() {</span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp; var tmp = -1*0;</span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:red">&nbsp; debug("tmp:" + tmp);&nbsp; </span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp;&nbsp;var result = tmp + 1;</span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:red">&nbsp; debug("The result should be 1,result:" +
result); &nbsp; //print</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp;&nbsp;var item1 =&nbsp; result - 1;</span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:red">&nbsp; debug("The item1 should be 0,item1:" +
item1);&nbsp;</span><span lang="EN-US"><o:p></o:p></span><span style="color: rgb(255, 0, 0); font-family: Calibri, sans-serif; ">//print</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp;&nbsp;var item2 =&nbsp; result - 2;</span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:red">&nbsp; debug("The item2 should be -1,item2:" +
item2);&nbsp;</span><span lang="EN-US"><o:p></o:p></span><span style="color: rgb(255, 0, 0); font-family: Calibri, sans-serif; ">//print</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">}</span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">And the log information are: </span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:w;
color:windowtext">[CONSOLE-DEBUG]Message is :'tmp:0' </span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:w;
color:windowtext">[CONSOLE-DEBUG]Message is :'The result should be
1,result:0.0078125' </span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:w;
color:windowtext">[CONSOLE-DEBUG]Message is :'The item1 should be 0,item1:0'</span><span lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:w;
color:windowtext">[CONSOLE-DEBUG]Message is :'The item2 should be
-1,item2:-0.0078125'</span><span lang="EN-US"><o:p></o:p></span></p><br><div>--<br><div><span style="border-collapse: separate; font-size: medium; line-height: normal; font-family: Simsun; " class="Apple-style-span"><span style="font-size: 12px;" class="Apple-style-span"></span></span><div><span style="font-size: 14px; font-family: Verdana;">BGs/</span><span style="font-size: 14px; font-family: Verdana;">Felix Shi</span></div></div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>