Github user jiny2 commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/1029#discussion_r89943290 --- Diff: src/backend/resourcemanager/include/resourcepool.h --- @@ -715,6 +715,7 @@ SimpStringPtr build_segment_status_description(SegStat segstat); #define EPSILON 1e-7 #define IS_DOUBLE_ZERO(d) (fabs(d) < EPSILON) #define IS_DOUBLE_EQ(x, y) ((fabs((x) - (y))) <= (EPSILON)) +#define IS_DOUBLE_EQGREATER(x, y) (((x) + EPSILON) >= (y)) --- End diff -- Fixed
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---