Files
Nim/lib
Antonis Geralis f34734ffb4 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>
2022-07-18 21:18:12 +02:00
..
2017-02-20 17:24:19 +02:00
2021-04-09 16:29:10 +02:00
2022-06-21 09:53:46 +08:00
2022-06-30 23:18:11 +02:00
2022-07-18 21:18:12 +02:00
2013-03-16 23:53:07 +01:00
2021-06-03 14:00:53 +02:00
2021-04-07 23:26:53 +02:00
2021-08-29 09:18:54 +02:00