code: public static double getUpperBoundForBoverA(final long a, final long b, final double f) {
      checkInputs(a, b, f);
      if (a == 0) { return 1.0; }
      if (f == 1.0) { return (double) b / a; }
      return approximateUpperBoundOnP(a, b, NUM_STD_DEVS * hackyAdjuster(f));
    }
docs: Return the approximate upper bound based on a 95% confidence interval
  @param a See class javadoc
  @param b See class javadoc
  @param f the inclusion probability used to produce the set with size <i>a</i>.
  @return the approximate lower bound