shithub: femtolisp

ref: c6a977063e97d4d1a9b4c07d2e0c7d0ceb02a6c0
dir: /llt/random.h/

View raw version
#ifndef __LLTRANDOM_H_
#define __LLTRANDOM_H_

#define random() genrand_int32()
#define srandom(n) init_genrand(n)
double rand_double();
float rand_float();
double randn();
void randomize();
unsigned long genrand_int32();
void init_genrand(unsigned long s);
u_int64_t i64time();

#endif