#include <ash/random.h>
Public Member Functions | |
Seed (uint32 s) | |
uint32 | gen_uint32 () const |
Generate a random number on [0,0xFFFFFFFF]-interval. | |
uint64 | gen_uint64 () const |
Generate a random number on [0,0xFFFFFFFFFFFFFFFF]-interval. | |
float | gen_float () const |
double | gen_double () const |
Random number seeder.
Uses the Mersenne Twister: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
© 2012 | Licensed under | Hosted by | Generated by 1.7.4 |