MCPcopy Create free account
hub / github.com/VCVRack/Rack / u32

Function u32

include/random.hpp:124–124  ·  view source on GitHub ↗

Returns a uniform random uint32_t from 0 to UINT32_MAX */

Source from the content-addressed store, hash-verified

122inline uint64_t u64() {return get<uint64_t>();}
123/** Returns a uniform random uint32_t from 0 to UINT32_MAX */
124inline uint32_t u32() {return get<uint32_t>();}
125/** Returns a uniform random float in the interval [0.0, 1.0) */
126inline float uniform() {return get<float>();}
127

Callers 1

randomu32Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected