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

Function next_float

numpy/random/src/distributions/distributions.c:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19static inline float next_float(bitgen_t *bitgen_state) {
20 return (next_uint32(bitgen_state) >> 8) * (1.0f / 16777216.0f);
21}
22
23/* Random generators for external use */
24float random_standard_uniform_f(bitgen_t *bitgen_state) {

Calls 1

next_uint32Function · 0.85

Tested by

no test coverage detected