The Davies quantile function