[HACKERS] Regression failure for floats

2004-03-13 Thread Bruce Momjian
I am seeing the following regression failure for current CVS. On my OS, BSD/OS 4.3, it seems once you hit Infinity, you can't negate it. /usr/include/math.h has: /* Generate an overflow to create +Inf; the multiply shuts up gcc 1 */ #define HUGE_VAL(1e250*1e250) /*

Re: [HACKERS] Regression failure for floats

2004-03-13 Thread Neil Conway
Bruce Momjian [EMAIL PROTECTED] writes: I am seeing the following regression failure for current CVS. On my OS, BSD/OS 4.3, it seems once you hit Infinity, you can't negate it. Actually, I suspect the problem is that isinf() on your platform returns 1 for any infinity (rather than -1 for

Re: [HACKERS] Regression failure for floats

2004-03-13 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: I am seeing the following regression failure for current CVS. On my OS, BSD/OS 4.3, it seems once you hit Infinity, you can't negate it. /usr/include/math.h has: /* Generate an overflow to create +Inf; the multiply shuts up gcc 1 */

Re: [HACKERS] Regression failure for floats

2004-03-13 Thread Claudio Natoli
email. The current patch is attached -- Tom hasn't yet gotten back to me on whether this fixes the problem for him on HPUX, but it fixes my OS X box. Fixes issues under win32. Thanks. Claudio --- Certain disclaimers and policies apply to all email sent from Memetrics. For the full text of