[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [LCP]Detecting overflow of floating point calculations



Title: RE: [LCP]Detecting overflow of floating point calculations

> I know that I know that if a floating point number is larger
> than the
> maximum value it can hold, the printf() family of functions
> will print
> "inf", at least with gcc, so printing to a string with

I don't know how portable they are (don't have my linux box
atm), but lookup finite and isnan (libc routines).

--
Vincent Penquerc'h