Scanned from Art of Computer Programming, Volume 2, Seminumerical Algorithms by Donald E. Knuth, a MUST HAVE book for any programmer.