diff --git a/src/bin/e_utils.h b/src/bin/e_utils.h index ae5d8bc6f..39c1a7115 100644 --- a/src/bin/e_utils.h +++ b/src/bin/e_utils.h @@ -93,5 +93,11 @@ isedje(const Evas_Object *obj) return obj && !e_util_strcmp(evas_object_type_get(obj), "edje"); } +static inline Eina_Bool +dblequal(double a, double b) +{ + return fabs(a - b) < DBL_EPSILON; +} + #endif #endif