summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d1c8e3)
raw | patch | inline | side by side (parent: 6d1c8e3)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 24 Aug 2009 12:02:32 +0000 (12:02 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 24 Aug 2009 12:02:32 +0000 (12:02 +0000) |
src/rrd_config_bottom.h | patch | blob | history |
index d04e592af13f56088cc10d88509201713506b934..a569197ab9a8b709f0135895ad88b60248648852 100644 (file)
--- a/src/rrd_config_bottom.h
+++ b/src/rrd_config_bottom.h
# ifdef isinf
# undef isinf
# endif
-# define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
+# define isinf(a) (!!(fpclass(a) & (FP_SNAN|FP_QNAN)))
+
#endif
/* solaris 10 it defines isnan such that only forte can compile it ... bad bad */