Re: [PATCHES] [BUGS] BUG #2846: inconsistent and - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] [BUGS] BUG #2846: inconsistent and
Date
Msg-id 200612290623.kBT6Nnh18012@momjian.us
Whole thread Raw
In response to Re: [PATCHES] [BUGS] BUG #2846: inconsistent and confusing  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] [BUGS] BUG #2846: inconsistent and  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [PATCHES] [BUGS] BUG #2846: inconsistent and confusing  (Roman Kononov <kononov195-pgsql@yahoo.com>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.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 :-(

Well, then show me what direction you think is better.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] [BUGS] BUG #2846: inconsistent and confusing
Next
From: mark@mark.mielke.cc
Date:
Subject: Re: TODO: GNU TLS