about summary refs log tree commit diff
path: root/src/libcore/rand.rs
AgeCommit message (Collapse)AuthorLines
2012-05-26core: Make range follow the for loop protocolBrian Anderson-1/+1
2012-05-21core: Fix typos in ignore attrsBrian Anderson-2/+2
2012-05-21core: Rework some rand functions to be more consistentBrian Anderson-27/+27
Changed the gen_x_from functions to gen_x_range and made them use the range [start, end) like other core functions.
2012-05-21core: Ignore another should_fail test on win32Brian Anderson-0/+1
2012-05-21core: Ignore a should_fail test on win32Brian Anderson-0/+1
2012-05-21core: Fix types in rand modBrian Anderson-1/+1
2012-05-21add a seeded random number generator so that sequences of random numbers can ↵Gareth Daniel Smith-7/+39
be easily reproduced (for https://github.com/mozilla/rust/issues/2379)
2012-05-21add a bunch more rand::rng extension methods - one for each primitive type ↵Gareth Daniel Smith-38/+275
and also some choose/shuffle functions (for https://github.com/mozilla/rust/issues/2379)
2012-05-21separate the rand::rng gen_* methods out into an iface-less-impl so that the ↵Gareth Daniel Smith-43/+61
gen_* methods can be reused with different rng implementations (for https://github.com/mozilla/rust/issues/2379)
2012-03-15core: DocsBrian Anderson-1/+3
2012-03-13Overhaul constructor naming in libsBrian Anderson-4/+4
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-0/+113
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.