Previous: Random State Seeding, Up: Random Number Functions [Index]

- Function:
*unsigned long***gmp_urandomb_ui***(gmp_randstate_t*`state`, unsigned long`n`) Return a uniformly distributed random number of

`n`bits, i.e. in the range 0 to*2^*inclusive.`n`-1`n`must be less than or equal to the number of bits in an`unsigned long`

.

- Function:
*unsigned long***gmp_urandomm_ui***(gmp_randstate_t*`state`, unsigned long`n`) Return a uniformly distributed random number in the range 0 to

, inclusive.`n`-1