MCPcopy Create free account
hub / github.com/numpy/numpy / random_uint

Function random_uint

numpy/random/src/distributions/distributions.c:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328uint64_t random_uint(bitgen_t *bitgen_state) {
329#if ULONG_MAX <= 0xffffffffUL
330 return next_uint32(bitgen_state);
331#else
332 return next_uint64(bitgen_state);
333#endif
334}
335
336/*
337 * log-gamma function to support some of these distributions. The

Callers

nothing calls this directly

Calls 2

next_uint32Function · 0.85
next_uint64Function · 0.85

Tested by

no test coverage detected