<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: [LCP]Detecting overflow of floating point calculations</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>> I know that I know that if a floating point number is larger than the</FONT>
<BR><FONT SIZE=2>> maximum value it can hold, the printf() family of functions will print</FONT>
<BR><FONT SIZE=2>> "inf", at least with gcc, so printing to a string with </FONT>
</P>
<P><FONT SIZE=2>I don't know how portable they are (don't have my linux box</FONT>
<BR><FONT SIZE=2>atm), but lookup finite and isnan (libc routines).</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Vincent Penquerc'h </FONT>
</P>
</BODY>
</HTML>