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

Function random_positive_int64

numpy/random/src/distributions/distributions.c:312–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312int64_t random_positive_int64(bitgen_t *bitgen_state) {
313 return next_uint64(bitgen_state) >> 1;
314}
315
316int32_t random_positive_int32(bitgen_t *bitgen_state) {
317 return next_uint32(bitgen_state) >> 1;

Callers

nothing calls this directly

Calls 1

next_uint64Function · 0.85

Tested by

no test coverage detected