code: public static double quantile(double val, double loc, double scale) {
      return loc + scale * FastMath.log(val / (1. - val));
    }
docs: Quantile function.
  
  @param val Value
  @param loc Location
  @param scale Scale
  @return Quantile