You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
					
						
						
							 | 
							- #pragma once
 - #include "common.hpp"
 - #include <cstdint>
 - 
 - 
 - namespace rack {
 - 
 - 
 - /** Random number generator
 - */
 - namespace random {
 - 
 - 
 - /** Seeds the RNG with the current time */
 - void init();
 - /** Returns a uniform random uint32_t from 0 to UINT32_MAX */
 - uint32_t u32();
 - /** Returns a uniform random uint64_t from 0 to UINT64_MAX */
 - uint64_t u64();
 - /** Returns a uniform random float in the interval [0.0, 1.0) */
 - float uniform();
 - /** Returns a normal random number with mean 0 and standard deviation 1 */
 - float normal();
 - 
 - 
 - } // namespace random
 - } // namespace rack
 
 
  |