ziggurat_test, a C code which calls ziggurat() to generate random variates from the uniform, normal or exponential distributions.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

ziggurat, a C code which implements uniform, normal and exponential random number generators (RNG's) using the ziggurat method, by Marsaglia and Tsang.

Source Code:

Last revised on 21 July 2019