summary refs log tree commit diff stats
path: root/lib/pure/random.nim
Commit message (Expand)AuthorAgeFilesLines
* stdlib organization & documentation improvements (#20971)metagn2022-12-061-1/+0
* put std/threads under the umbrella of nimPreviewSlimSystem (#20711)ringabout2022-10-311-1/+1
* make more standard libraries work with `nimPreviewSlimSystem` (#20343)ringabout2022-09-271-0/+3
* Add missing rand(var Rand, Ordinal) overload (#20124)Antonis Geralis2022-08-261-14/+32
* prevent cache thrashing (#20129)ringabout2022-08-021-1/+3
* [ORC] replace threadpool with createThread in the runnableExamples (#20106)ringabout2022-07-311-9/+16
* Improve rand(bool) (#20045)Antonis Geralis2022-07-181-2/+4
* Make `random.rand` work with `Ordinal` (#20043)Amjad Ben Hedhili2022-07-161-6/+9
* Fix initrand to avoid random number sequences overlapping (#18744)Tomohiro2021-09-021-11/+63
* std/random: fix overflow bugs; fixes #16360; fixes #16296; fixes #17670 (#18456)Timothee Cour2021-07-231-9/+23
* Add lent annotation to avoid extra copies in sample (#18404)Antonis Geralis2021-07-021-1/+1
* fix #17467 1st call to rand is now non-skewed; allow seed == 0 (#17468)Timothee Cour2021-05-111-57/+36
* CIs: attempt to use csources_v1 (#16282)Andreas Rumpf2021-04-211-2/+2
* Better error message for rand(153 .. 102) (#17031)Dominik Picheta2021-02-151-1/+1
* Improve documentation for random (#17015)konsumlamm2021-02-121-185/+168
* add system random to stdlib: std/sysrand (#16459)flywind2021-02-111-0/+1
* Add initRand() with seed based on time (#16953)hlaaftana2021-02-071-10/+35
* Fix broken links in docs (#16336)Elliot Waite2020-12-141-11/+17
* Revert "use generics in random (#16283)" (#16291)flywind2020-12-091-15/+33
* use generics in random (#16283)flywind2020-12-071-33/+15
* move tests to testament (#16101)flywind2020-11-241-54/+0
* Make default state public (#15763)Antonis Geralis2020-10-291-0/+6
* added normal variate function (#14725)b3liever2020-06-221-1/+42
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-171-33/+1
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-281-2/+2
* style fix: change 'JS' to 'js' to make it consistent (#13168)Miran2020-01-161-6/+6
* clean up deprecated stuff and unused imports in tests (#13059)Miran2020-01-071-1/+1
* allow random module to be used in standalone: (#12617)Judd2019-11-071-1/+1
* Fix many broken linksJjp1372019-10-221-1/+1
* [backport] fix type's case in random.nim (#12445)Miran2019-10-171-12/+12
* [backport] fix #12418, fix `random.randomize` on JS backend (#12432)Miran2019-10-151-1/+1
* [backport] run nimpretty on numbers stuffnarimiran2019-09-301-17/+17
* random: minor documentation updates (#11831)Jjp1372019-08-021-8/+42
* fix #11772, JS random seed was too large (#11820)Miran2019-07-251-1/+1
* [bugfix] fix #11450, random.initRand crashes in JS backend (#11522)Miran2019-06-171-4/+4
* Render deprecated pragmas (#8886)LemonBoy2019-06-031-18/+12
* Reallow float ranges in random moduleMamy André-Ratsimbazafy2019-05-081-4/+14
* Fix unexpected result of rand on a range, fixes #11015 (#11035)Jasper Jenkins2019-04-301-8/+14
* random: works for slices and enums, fixes #7698 (#10998)Miran2019-04-111-3/+3
* [random] add support for sets (#10532)WhiteDuke2019-02-251-0/+12
* randomize: added doAssert(seed!=0) to avoid invalid (non-random) behavior (#1...Timothee Cour2019-02-131-0/+1
* better docs: random (#10546)Jjp1372019-02-131-66/+423
* added proc rand for typedesc (#10259)Arne Döring2019-01-141-1/+5
* Resolve things raised in https://github.com/nim-lang/Nim/issues/10081 ? (#10084)c-blake2018-12-311-21/+20
* Revert sub-second randomize(). Fixes randomize for JS backend. (#10000)Dominik Picheta2018-12-271-2/+6
* Add ability to sample elements from openArray according to a weight array (#1...c-blake2018-12-231-2/+35
* updated tests to be executedArne Döring2018-11-231-0/+4
* stdlib: minor changes to avoid compiler warningsAndreas Rumpf2018-09-191-1/+1
* Add checks for random.rand() (#8431)Quelklef2018-07-301-2/+15
* Rename `Time.nanoseconds` to `nanosecond` (#7673)Oscar Nihlgård2018-04-251-1/+1