code: public static double logquantile(double val, double loc, double scale) {
      return loc + scale * (val - MathUtil.log1mexp(-val));
    }
docs: log Quantile function.
  
  TODO: untested.
  
  @param val Value
  @param loc Location
  @param scale Scale
  @return Quantile