Web lists-archives.com

Re: [Mingw-msys] Re: Apache + mod_perl




Peter Selinger wrote:

> I am not sure if this list is the correct place for bug reports.

This is code from newlib, and the version of newlib that MSYS includes
is extremely old, from 2001-09-07 as far as I can tell.  Maybe at some
point it would be a good idea to import a more fresh copy of newlib into
the tree.

> I found the following code in the floating point library
> newlib/libm/mathfp/sf_isinf.c:
> 
> int isinff (float x)
> {
>   __uint32_t wx;
>   int exp;
> 
>   GET_FLOAT_WORD (wx, x);
>   exp = (wx & 0x7f800000) >> 23;
> 
>   if ((exp == 0x7f8) && !(wx & 0xf0000))
>     return (1);
>   else
>     return (0);
> }

Current newlib has this:

int
_DEFUN (isinff, (x),
        float x)
{
        __int32_t ix;
        GET_FLOAT_WORD(ix,x);
        ix &= 0x7fffffff;
        return FLT_UWORD_IS_INFINITE(ix);
}

It looks like this change was made when the file was moved from mathfp/
to common/ around 2006-02-26:

<http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libm/common/sf_isinff.c?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=src>
<http://sourceware.org/ml/newlib/2006/msg00132.html>

Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys