Bruce Momjian <bruce(at)momjian(dot)us> writes: > I wasn't excited about doing one isinf() call to avoid three, so I just > made a fast isinf() macro: > /* We call isinf() a lot, so we use a fast version in this file */ > #define fast_isinf(val) (((val) < DBL_MIN || (val) > DBL_MAX) && isinf(val)) This is *not* going in the right direction :-( regards, tom lane