diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-04 00:40:27 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-11 20:59:52 +0200 |
| commit | 2323ca16225066187958a003301be6fd3bc181fe (patch) | |
| tree | 3e262c9877e6139780d8fe72ed841fe1e7b9c800 /core/math/big/helpers.odin | |
| parent | fc0a92f8ace0e8a6f42d7666b8d4cb92cfb0df3e (diff) | |
big: Add `MATH_BIG_FORCE_64/32_BIT` flags.
Diffstat (limited to 'core/math/big/helpers.odin')
| -rw-r--r-- | core/math/big/helpers.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/big/helpers.odin b/core/math/big/helpers.odin index d4b5d0220..a326b960b 100644 --- a/core/math/big/helpers.odin +++ b/core/math/big/helpers.odin @@ -549,7 +549,7 @@ int_random_digit :: proc(r: ^rnd.Rand = nil) -> (res: DIGIT) { when _DIGIT_BITS == 60 { // DIGIT = u64 return DIGIT(rnd.uint64(r)) & _MASK; } else when _DIGIT_BITS == 28 { // DIGIT = u32 - return DIGIT(rand.uint32(r)) & _MASK; + return DIGIT(rnd.uint32(r)) & _MASK; } else { panic("Unsupported DIGIT size."); } |