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 */ > #define HUGE_VAL (1e250*1e250) /* IEEE: positive infinity */ > and our float4in code has: > else if (strcasecmp(num, "-Infinity") == 0) > val = -HUGE_VAL; > Seems that doesn't work for me.
No, the bug is that Neil assumed isinf() would tell him the sign of an infinity. I believe he's about to commit a patch for this and some other bogosities. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend