summary refs log tree commit diff stats
path: root/tools/niminst/install.nimf
diff options
context:
space:
mode:
authorAntonis Geralis <43617260+planetis-m@users.noreply.github.com>2022-07-18 22:18:12 +0300
committerGitHub <noreply@github.com>2022-07-18 21:18:12 +0200
commitf34734ffb4c58d6f3ec3d177efcff24f379b41b8 (patch)
tree1fb0f326758d5f7f9676de30e38bf1595764bb94 /tools/niminst/install.nimf
parentf2e440730634a4679cb140234eae7c11251349ec (diff)
downloadNim-f34734ffb4c58d6f3ec3d177efcff24f379b41b8.tar.gz
Improve rand(bool) (#20045)
* Improve rand(bool)

* Use sign test instead of mod 2

* Use mod 2 again, as it works for js

* Use right shift as suggested by the authors of xoroshiro

* Update random.nim

* General case doesn't need any right shift it was correct to begin with

* Update random.nim

* add comment

Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
Diffstat (limited to 'tools/niminst/install.nimf')
0 files changed, 0 insertions, 0 deletions