public static double getCostEpsilon(double cost) {
    return Math.ulp(cost);
  }
Base class of StochasticLoadBalancer's Cost Functions.
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/CostFunction.java