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

Function uniform

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

Returns a uniform random float in the interval [0.0, 1.0) */

Source from the content-addressed store, hash-verified

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
128/** Returns a normal random number with mean 0 and standard deviation 1 */
129inline float normal() {

Callers 4

randomizeMethod · 0.85
randomizeMethod · 0.85
randomUniformFunction · 0.85
randomfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected