| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove `core:mem` import from `core:math/big`. | Jeroen van Rijn | 3 days | 1 | -4/+3 |
| | | |||||
| * | core:math/rand small documentation fix | Wrath | 2025-12-22 | 1 | -3/+3 |
| | | |||||
| * | Fix #5978: choice_bit_set respects bit_set domain | Andreas Stenmark | 2025-11-30 | 1 | -4/+7 |
| | | |||||
| * | base/runtime: Add chacha8rand as the default RNG | Yawning Angel | 2025-11-29 | 1 | -3/+42 |
| | | |||||
| * | changed panic to assert | Xotchkass | 2025-11-28 | 1 | -24/+8 |
| | | |||||
| * | Add range-based random number generation functions | Xotchkass | 2025-11-28 | 1 | -0/+328 |
| | | |||||
| * | add uint32_max, uint64_max, uint128_max and uint_max procs to math/rand | Xotchkass | 2025-11-26 | 1 | -0/+160 |
| | | |||||
| * | Fix docs on int*_max | NicknEma | 2025-11-04 | 1 | -4/+4 |
| | | |||||
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 1 | -1/+1 |
| | | |||||
| * | Package lines for `core:math` and more. | Jeroen van Rijn | 2025-10-09 | 1 | -4/+1 |
| | | |||||
| * | remove private _random_u64 and move it's functionality into public uint64 | Xotchkass | 2025-08-14 | 1 | -19/+16 |
| | | |||||
| * | use runtime.random_generator_read_bytes in read procedure instead of filling ↵ | Xotchkass | 2025-08-14 | 1 | -12/+2 |
| | | | | | it manually. | ||||
| * | Fix rand.int_max comment | Jeroen van Rijn | 2025-05-28 | 1 | -1/+1 |
| | | |||||
| * | Fix float64_range example | Jeroen van Rijn | 2025-04-21 | 1 | -2/+2 |
| | | |||||
| * | Fix broken examples in documentation tester. | Jeroen van Rijn | 2025-04-05 | 1 | -1/+1 |
| | | | | | | | | | | No more: ``` We could not find the procedure "pkg_foo_example :: proc()" needed to test the example created for "pkg.foo" The following procedures were found: bar() ``` | ||||
| * | Add `@(require_results)` to random generator | gingerBill | 2025-02-24 | 1 | -1/+0 |
| | | |||||
| * | fix typo in float32_range doc string | Colter | 2025-01-29 | 1 | -1/+1 |
| | | |||||
| * | math/rand: add @(require_results) to create | Laytan Laats | 2025-01-18 | 1 | -0/+1 |
| | | |||||
| * | General clean up of code | gingerBill | 2025-01-01 | 1 | -24/+0 |
| | | |||||
| * | math/rand: `choice_bit_set` return `not_empty` -> `ok` | Laytan | 2024-10-28 | 1 | -3/+3 |
| | | |||||
| * | math/rand: add `choice_bit_set` | Laytan Laats | 2024-10-26 | 1 | -0/+49 |
| | | |||||
| * | math/rand: support non-contiguous enums in choice_enum | Laytan Laats | 2024-10-25 | 1 | -15/+15 |
| | | |||||
| * | Update rand.reset() example. | Jeroen van Rijn | 2024-07-31 | 1 | -1/+1 |
| | | |||||
| * | Improve rand.shuffle further by splitting into 64-bit and 32-bit parts | gingerBill | 2024-07-16 | 1 | -1/+7 |
| | | |||||
| * | Improve `rand.shuffle` | gingerBill | 2024-07-16 | 1 | -1/+1 |
| | | |||||
| * | Fix typo | gingerBill | 2024-07-11 | 1 | -1/+1 |
| | | |||||
| * | Add `rand.Generator` and other calls | gingerBill | 2024-07-11 | 1 | -0/+13 |
| | | |||||
| * | Add `gen := context.random_generator` parameters to `rand` calls | gingerBill | 2024-07-11 | 1 | -45/+45 |
| | | |||||
| * | More style improvements | gingerBill | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | Remove the need for `rand` in `core:math/big` | gingerBill | 2024-06-15 | 1 | -1/+0 |
| | | |||||
| * | Update `core:math/rand` to use `context.random_generator` and remove `rand.Rand` | gingerBill | 2024-06-15 | 1 | -288/+61 |
| | | |||||
| * | Add `Reset` mode | gingerBill | 2024-06-15 | 1 | -0/+12 |
| | | |||||
| * | Add `runtime.Random_Generator` interface | gingerBill | 2024-06-15 | 1 | -0/+27 |
| | | |||||
| * | core/math/rand: Use `core:crypto` for the system RNG | Yawning Angel | 2024-04-23 | 1 | -18/+21 |
| | | | | | | This removes some code duplication and expands support for the system RNG to all targets that `core:crypto` supports. | ||||
| * | Implement Fisher-Yates shuffle | Feoramund | 2024-04-15 | 1 | -2/+2 |
| | | |||||
| * | Add `rand.choice_enum` | gingerBill | 2024-02-10 | 1 | -0/+20 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 1 | -1/+1 |
| | | |||||
| * | Fixed up missing output for rand examples | Lucas Perlind | 2023-09-27 | 1 | -1/+103 |
| | | |||||
| * | Better guarantee boundaries of floating point rand | Lucas Perlind | 2023-08-18 | 1 | -15/+30 |
| | | |||||
| * | Update rand documentation about floats | Lucas Perlind | 2023-08-16 | 1 | -8/+13 |
| | | |||||
| * | Fix `_random_u64` | gingerBill | 2023-08-15 | 1 | -3/+4 |
| | | |||||
| * | Change algorithm to work on 64-bit integers rather than 32-bit integers ↵ | gingerBill | 2023-08-15 | 1 | -122/+19 |
| | | | | | internally | ||||
| * | Fix range comment from `(0, n]` to `[0, n)` | gingerBill | 2023-08-15 | 1 | -8/+8 |
| | | |||||
| * | Document core:math/rand and add 'possible output' | Lucas Perlind | 2023-05-31 | 1 | -23/+635 |
| | | | | | | | Possible output allows us to just type check a test and have some sort of output field in the docs but not actually verify it matches stdout | ||||
| * | Add `@(require_results)` to `core:math/rand` | gingerBill | 2023-05-22 | 1 | -7/+18 |
| | | |||||
| * | Add `core:math/rand.choice` | Jeroen van Rijn | 2022-10-23 | 1 | -0/+9 |
| | | |||||
| * | Add `rand.init_as_system` to allow for system-level based random number ↵ | gingerBill | 2022-05-15 | 1 | -0/+17 |
| | | | | | generation | ||||
| * | Move distributions to a separate file | gingerBill | 2022-05-15 | 1 | -251/+0 |
| | | |||||
| * | Add numerous different random distribution procedures | gingerBill | 2022-05-15 | 1 | -0/+252 |
| | | |||||
| * | Initialize the `global_rand` with the `intrinsics.read_cycle_counter()` value | gingerBill | 2022-02-03 | 1 | -3/+3 |
| | | |||||