Re: [BUGS] BUG #2846: inconsistent and confusing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, Roman Kononov <kononov195-pgsql(at)yahoo(dot)com>
Subject: Re: [BUGS] BUG #2846: inconsistent and confusing
Date: 2006-12-29 05:20:47
Message-ID: 28423.1167369647@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-12-29 06:23:49 Re: [HACKERS] [BUGS] BUG #2846: inconsistent and
Previous Message Tom Lane 2006-12-29 05:08:37 Re: TODO: GNU TLS

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-12-29 06:23:49 Re: [HACKERS] [BUGS] BUG #2846: inconsistent and
Previous Message Tom Lane 2006-12-29 03:28:28 Re: Recent SIGSEGV failures in buildfarm HEAD