Random number generation

Torbjorn Granlund tege at swox.com
Thu Nov 3 12:00:48 CET 2005


"Gabriele Martino" <martino.gabriele at fastwebnet.it> writes:

  The numbers are generated but the problem is that if I run several times this code it produces the SAME sequence of random numbers. 
  How can I solve this problem?

This workings of the GMP random number generation functions are
described in the section on Random Number Functions in the GMP
manual: <http://swox.com/gmp/manual/>

-- 
Torbjörn


More information about the gmp-discuss mailing list