<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>More floating point errors</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">It seems that using a different compiler (I assume the development is done with MSC) uncovers various issues with the floating point.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Here is the second one I'm seeing - DOMAIN error from sqrt().</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">In the open_loop_nbest_pitch(), this line:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6));</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The values are:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">e0 is 7.2</FONT>

<BR><FONT SIZE=2 FACE="Arial">i is 142,</FONT>

<BR><FONT SIZE=2 FACE="Arial">start is 17</FONT>

<BR><FONT SIZE=2 FACE="Arial">energy [i-start] is -2.1004911E-015</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Hope this information is enough to go on.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Tia,</FONT>

<BR><FONT SIZE=2 FACE="Arial">.a</FONT>
</P>

</BODY>
</HTML>