index
:
odin/Odin.git
bill/all_or_none
bill/any-type-switch-if-else
bill/change-license
bill/compiler-optimizations-2025-09
bill/conditional-zero
bill/const-union
bill/dir-organization
bill/disallow-128-bit
bill/fix-current-os-package
bill/fix-data-races-2026-02
bill/force-type-assert
bill/global-variable-distribution
bill/init-fini-changes
bill/integer-concatenation
bill/io-error-changes
bill/must-tail
bill/new-slice-sort
bill/range-init
bill/remove-test-suffix
bill/shared-partial-return-memory
bill/subtype-type-info
bill/typeid-sip-hash
bill/utf16-strings
core-flags
core_os2_revamp
custom-math-sin
fix-4225
llvm-12-support
master
middle-end
mimalloc
mv/libc-errors
new_os
orca-dev
text-template
update-tilde
windows-llvm-11.1.0
windows-llvm-12.0.1
windows-llvm-13.0.0
Odin Programming Language
Odin Lang
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
core
/
math
/
rand
Commit message (
Expand
)
Author
Age
Files
Lines
*
Add `@(rodata)` and `@(static, rodata)` where appropriate
gingerBill
2024-06-06
2
-6
/
+6
*
core/math/rand: Use `core:crypto` for the system RNG
Yawning Angel
2024-04-23
5
-96
/
+21
*
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
*
Merge branch 'master' into new-sys-unix
gingerBill
2023-10-31
1
-0
/
+14
|
\
|
*
Replace Math.random with crypto.getRandomValues for _system_number
Damian Tarnawski
2023-10-27
1
-3
/
+5
|
*
Rename rand to rand_f64
Damian Tarnawski
2023-10-27
1
-2
/
+3
|
*
Add system_random and random_bytes for js target
Damian Tarnawski
2023-10-27
1
-0
/
+11
*
|
Implement new sys/unix package
flysand7
2023-10-27
1
-17
/
+18
|
/
*
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 inter...
gingerBill
2023-08-15
4
-131
/
+28
*
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
*
Add `@(require_results)` to `core:math/rand`
gingerBill
2023-05-22
7
-7
/
+49
*
Add `core:math/rand.choice`
Jeroen van Rijn
2022-10-23
1
-0
/
+9
*
Add `_system_random` for Darwin
gingerBill
2022-05-15
1
-0
/
+21
*
Add `rand.init_as_system` to allow for system-level based random number gener...
gingerBill
2022-05-15
3
-0
/
+56
*
Add Gompertz Distribution
gingerBill
2022-05-15
1
-2
/
+22
*
Add more distributions
gingerBill
2022-05-15
1
-0
/
+41
*
Correct log normal
gingerBill
2022-05-15
1
-1
/
+1
*
Fix typo
gingerBill
2022-05-15
1
-2
/
+2
*
Move distributions to a separate file
gingerBill
2022-05-15
2
-251
/
+251
*
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
*
Add allocator parameter to `rand.perm`
gingerBill
2022-02-01
1
-2
/
+2
*
Add `rand.exp_float64`
gingerBill
2022-01-27
2
-8
/
+220
*
Correct int31_max etc
gingerBill
2022-01-27
1
-3
/
+3
*
Strip even more semicolons if followed by a `}` or `)` on the same line
gingerBill
2021-08-31
1
-8
/
+8
*
Remove unneeded semicolons from the core library
gingerBill
2021-08-31
2
-80
/
+80
*
big: Add `rand`.
Jeroen van Rijn
2021-08-11
1
-1
/
+1
*
Remove @(static) for global variables
gingerBill
2021-05-19
1
-2
/
+2
*
Remove usage of `do` in core library
gingerBill
2020-09-23
1
-5
/
+15
*
Add sanity conversion for rand.norm_float64
gingerBill
2020-09-10
1
-0
/
+6
*
Fix typo
gingerBill
2020-09-07
1
-1
/
+1
*
Improve math/rand functionality
gingerBill
2020-09-07
1
-21
/
+25
*
Add 128-bit random procedures to `package math/rand`
gingerBill
2019-11-10
1
-2
/
+24
*
Fix typos in `package linalg`; Fix norm_float64 in `package rand`
gingerBill
2019-10-27
1
-2
/
+2
*
Add float64_range and float32_range to package math/rand
gingerBill
2019-04-28
1
-0
/
+3
*
Improve package math/rand
gingerBill
2019-03-24
2
-9
/
+220
*
Parse directories to be packages
gingerBill
2018-05-21
1
-0
/
+62