Simard, R. and L’Ecuyer, P. (2011) “Computing the Two-Sided Kolmogorov-Smirnov Distribution”,
Journal of Statistical Software
, 39(11), pp. 1–18. doi: 10.18637/jss.v039.i11.