Macaulay2 Engine
Loading...
Searching...
No Matches

◆ rawRandomULong()

unsigned long rawRandomULong ( unsigned long max)

Definition at line 39 of file random.cpp.

40{
41 return gmp_urandomm_ui(state, max);
42}
#define max(a, b)
Definition polyroots.cpp:52
static gmp_randstate_t state
Definition random.cpp:18

References max, and state.

Referenced by M2::ARingGFFlint::random(), and M2::ARingZZpFlint::random().