Joachim H. Ahrens: How to avoid logarithms in comparisons with uniform random variables. Computing 41(1-2): 163-166 (1989)