Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make types and bounds in random2 a bit more explicit. | Robert Vollmert | 2009-11-10 | 1 | -5/+7 |
| | |||||
* | Fix compile (stdint.h needed for uint*_t). | Darshan Shaligram | 2009-11-09 | 1 | -0/+1 |
| | |||||
* | Remove the bias from random2() | Stefan O'Rear | 2009-11-08 | 1 | -1/+10 |
| | | | | | Worst case for the old version was random2(65535) == 65534, which had a 1 in 2^30 chance of being true. | ||||
* | Fix a stupid bug in defer_rand::random2avg | Stefan O'Rear | 2009-11-08 | 1 | -2/+2 |
| | |||||
* | A nifty new abstraction for the RNG: defer_rand | Stefan O'Rear | 2009-11-08 | 1 | -0/+76 |
| | | | | | | A defer_rand object stores random numbers in a resolution-independant fashion, providing interesting monotonicity guarantees. See the next patch for a good use. | ||||
* | Splitting up stuff.cc. | Robert Vollmert | 2009-10-30 | 1 | -0/+263 |
New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc. |