+#if !defined(HAVE_ISINF) && defined(HAVE_IEEEFP_H)
+#include <ieeefp.h>
+#define isinf(x) (!(finite(x) || isnand(x)))
+#endif

The problem with macros is that something like isinf(*x++) won't do what 
you intend. That's why even for such a simple case a function would be 
better imho.



-- 
Francois Gouget <[EMAIL PROTECTED]>              http://fgouget.free.fr/
                         Stolen from an Internet user:
              "f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng !"


Reply via email to