aboutsummaryrefslogtreecommitdiff
path: root/core/math/rand/rand.odin
Commit message (Expand)AuthorAgeFilesLines
* Add `rand.choice_enum`gingerBill2024-02-101-0/+20
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
* Fixed up missing output for rand examplesLucas Perlind2023-09-271-1/+103
* Better guarantee boundaries of floating point randLucas Perlind2023-08-181-15/+30
* Update rand documentation about floatsLucas Perlind2023-08-161-8/+13
* Fix `_random_u64`gingerBill2023-08-151-3/+4
* Change algorithm to work on 64-bit integers rather than 32-bit integers inter...gingerBill2023-08-151-122/+19
* Fix range comment from `(0, n]` to `[0, n)`gingerBill2023-08-151-8/+8
* Document core:math/rand and add 'possible output'Lucas Perlind2023-05-311-23/+635
* Add `@(require_results)` to `core:math/rand`gingerBill2023-05-221-7/+18
* Add `core:math/rand.choice`Jeroen van Rijn2022-10-231-0/+9
* Add `rand.init_as_system` to allow for system-level based random number gener...gingerBill2022-05-151-0/+17
* Move distributions to a separate filegingerBill2022-05-151-251/+0
* Add numerous different random distribution proceduresgingerBill2022-05-151-0/+252
* Initialize the `global_rand` with the `intrinsics.read_cycle_counter()` valuegingerBill2022-02-031-3/+3
* Add allocator parameter to `rand.perm`gingerBill2022-02-011-2/+2
* Correct int31_max etcgingerBill2022-01-271-3/+3
* Strip even more semicolons if followed by a `}` or `)` on the same linegingerBill2021-08-311-8/+8
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-64/+64
* big: Add `rand`.Jeroen van Rijn2021-08-111-1/+1
* Remove @(static) for global variablesgingerBill2021-05-191-2/+2
* Remove usage of `do` in core librarygingerBill2020-09-231-5/+15
* Improve math/rand functionalitygingerBill2020-09-071-21/+25
* Add 128-bit random procedures to `package math/rand`gingerBill2019-11-101-2/+24
* Add float64_range and float32_range to package math/randgingerBill2019-04-281-0/+3
* Improve package math/randgingerBill2019-03-241-9/+74
* Parse directories to be packagesgingerBill2018-05-211-0/+62