about summary refs log tree commit diff
path: root/src/rt/isaac
AgeCommit message (Collapse)AuthorLines
2013-09-23Remove the C(++) ISAAC Rng from the old rt.Huon Wilson-243/+0
This has to leave rust_gen_seed and rng_gen_seed around since they're used to initialise the std::rand RNGs.
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-2/+0
2013-04-26rt: use the [u]int[nn]_t types in the RNG.Huon Wilson-9/+14
This means that `ub4`s are always 4 bytes, rather than being 8 bytes on x64. (Suggested but not implemented by upstream: "Porting it to a 64-bit machine [...] may just need an adjustment of the definition of ub4")
2013-04-25rt: pull upstream ISAAC code for consistency between 32/64 bit platformsHuon Wilson-18/+23
The "unsigned 4 byte" `ub4`s are actually 8 bytes on 64-bit platforms which mean that some bits > 2**32 were retained in calculations, these would then "reappear" after a shift and so the stream of random numbers would differ on 32 bit vs 64 bit platforms.
2011-09-23rt: Remove the problematic min()/max()/align()/abs() macros from ↵Patrick Walton-12/+0
isaac/standard.h, as they're unused
2011-09-20rt: Rename rand() to isaac_rand() since the former prevents lots of standard ↵Patrick Walton-2/+2
headers from being included
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-1/+1
2010-06-23Populate tree.Graydon Hoare-0/+247