http://benji3up2kxewkqfcq7buxk2xd6zwy3zggnurkrm3l4cvwy2iipvyyad.onion/mirrors/gmpdoc/C_002b_002b-Interface-Random-Numbers.html
For example, gmp_randclass r1 (gmp_randinit_default);
gmp_randclass r2 (gmp_randinit_lc_2exp_size, 32);
gmp_randclass r3 (gmp_randinit_lc_2exp, a, c, m2exp);
gmp_randclass r4 (gmp_randinit_mt); gmp_randinit_lc_2exp_size will fail if the size requested is too big,
an std::length_error exception is thrown in that case. Function: gmp_randclass::gmp_randclass (gmp_randalg_t alg , …) ¶ Construct a gmp_randclass using the same parameters as gmp_randinit (see Random State Initialization ).