From: <selinger@ma...>  20080414 22:11:48

Hi, I am not sure if this list is the correct place for bug reports. 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); } Note that exp can never equal 0x7f8, so this function always returns 0. What was probably meant was either >> 20, or exp == 0xff.  Peter 