[rrd-developers] rrdtool-1.3.99909060808 configure error

Tobias Oetiker tobi at oetiker.ch
Mon Aug 24 08:46:17 CEST 2009


Friday Bernhard Reutner-Fischer wrote:

> On Fri, Aug 21, 2009 at 07:04:03AM +0200, Tobias Oetiker wrote:
> >Hi Barrie,
> >
> >Today Barrie wrote:
>
> >#if (defined(HAVE_ISNAN) && defined(isnan) && defined(HAVE_FPCLASS) && defined(FP_SNAN) && defined(FP_QNAN))
> >#  undef isnan
> >#  define isnan(a) (fpclass(a) == FP_SNAN || fpclass(a) == FP_QNAN)
>
> not that i'd care, but why would you want to call fpclass twice?
> #  define isnan(a) (!!(fpclass(a) & (FP_SNAN|FP_QNAN)))
>
> >#endif
> >
> >I have updated the trunk ... tomorrows snapshot will contain the
> >change ...

hi hi ... thanks ... what do the two ! do ? is this a binary not ?

cheers
tobi

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list