Make the expression code a little nicer and fix bugs found
[pspp] / src / misc.h
index d8d197022e0453382cf84f4554c868f453729400..0f03b6df2df9dba6a9779efced19e12d3728b991 100644 (file)
 #if !math_misc_h
 #define math_misc_h 1
 
+#include <float.h>
 #include <math.h>
 
+#define EPSILON (10 * DBL_EPSILON)
+
 /* HUGE_VAL is traditionally defined as positive infinity, or
    alternatively, DBL_MAX. */
 #if !HAVE_ISINF