summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index e4c4e354c..c56d569ad 100644
--- a/dive.h
+++ b/dive.h
@@ -20,6 +20,8 @@
(void) (&_max1 == &_max2); \
_max1 > _max2 ? _max1 : _max2; })
+#define IS_FP_SAME(_a,_b) (abs((_a) - (_b)) < 0.000001)
+
#include <libxml/tree.h>
#include <libxslt/transform.h>