summary refs log tree commit diff
path: root/src/libcore/rand.rs
AgeCommit message (Collapse)AuthorLines
2012-07-06Move string append to libraries. Closes #2710.Michael Sullivan-3/+3
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-46/+60
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-5/+5
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-1/+1
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-32/+32
2012-06-27Removed pretty much all the vector+ from core (issue #2719)Eric Holk-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-30/+31
2012-06-21[NEEDS SNAPSHOT] Port remainder of resources to classes in libcoreTim Chevalier-2/+6
2012-06-07Use #[cfg(unix)] and #[cfg(windows)] everywhereBrian Anderson-2/+2
2012-06-06miscellaneous pure annotations and other small changes.Niko Matsakis-1/+1
it seems that, to be truly useful, pure fns really need the ability to modify their parameters. alternatively, we could rewrite the functions that modify their arguments to take/return.
2012-06-05rt: Fix iaac_init using wrong type and not seeding correctlyBrian Anderson-0/+11
This was a result of changing the vector representation to contain a box header.
2012-05-30Add xorshift to core::rand, which gave a 3x speedup for graph generation in ↵Eric Holk-0/+30
the bfs code. Also, remove trailing white space.
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.