summary refs log tree commit diff stats
path: root/lib/pure/random.nim
Commit message (Expand)AuthorAgeFilesLines
* [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
* Sub second time resolution (#6978)Oscar Nihlgård2018-04-131-2/+2
* Fixed crash in rand (#7103)Yuriy Glukhov2018-01-181-0/+5
* Better times module (#6552)GULPF2017-12-181-6/+2
* make JS tests green againAraq2017-12-151-1/+1
* many improvements to random.nim; fixes #4726Araq2017-12-141-26/+97
* fixes #6631Andreas Rumpf2017-10-301-1/+1
* work in progress: new implementation for 'a[^1]'Andreas Rumpf2017-10-291-1/+1
* Fixed randomize for 32bit target (#6167)Yuriy Glukhov2017-08-011-2/+2
* fixes #5966Fabian Keller2017-06-201-1/+2
* fixes #5430Araq2017-02-261-1/+1
* fixed bug when the first random(max: float) call is the same value, regardles...Vladar42017-01-201-0/+1
* random.shuffle now takes an openArray procAndreas Rumpf2017-01-111-2/+7
* Documented `shuffle` from `random` module (#5204)Benjamin Summerton2017-01-111-0/+1
* make random.nim work for the JS target againAraq2017-01-081-2/+4
* random.nim: added shuffle proc; fixes 'mod' biasAraq2017-01-081-2/+12
* random.nim: add a warning about crypo; refs #5047Araq2017-01-071-0/+1
* Fix few typosFederico Ceratto2016-10-171-2/+2
* Random module: fix links, improve header.Matthew Baulch2016-07-181-5/+4
* documentation build cleaned upAndreas Rumpf2016-05-311-3/+5
* make test greenAndreas Rumpf2016-05-301-20/+38
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-301-0/+23
* added pure Nim random stdlib moduleAndreas Rumpf2016-05-301-0/+86