J. H. Ahrens and U. Dieter, "Computer methods for sampling from gamma, beta, Poisson and binomial distributions" Computing, Vol. 12, 1974, pp. 223-246.
Luc Devroye, "Non-Uniform Random Variate Generation" Springer-Verlag, New York, 1986. http://cg.scs.carleton.ca/~luc/rnbookindex.html
George Marsaglia and Wai Wan Tsang "The ziggurat method for generating random variables" Journal of Statistical Software, Vol. 5, 2000, Issue 8. http://www.jstatsoft.org/v05/i08/
George Marsaglia and Wai Wan Tsang "A Simple Method for Generating Gamma Variables" ACM Transactions on Mathematical Software, Vol. 26, No. 3, 2000, pp. 363-372.
Donald E. Knuth "The Art of Computer Programming - Seminumerical Algorithms" Addison-Wesley, 1998.
William H. Press, Saul A. Teukolsky, William T. Vetterling, and Brian P. Flannery, "Numerical Recipes in C++" Cambridge University Press, Cambridge, UK, 2002.
Matthew H. Austern, "Generic Programming and the STL" Addison Wesley, Reading, Massachusetts, 1999.