[libc-commits] [libc] [libc] Change rand implementation so all tests pass in both 32- and 64-bit systems (PR #98692)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Fri Jul 12 13:48:50 PDT 2024
https://github.com/jhuber6 commented:
If we change `x` to `uint64_t` wouldn't that also solve the issue? It's called `xorshift64star` because it needs 64-bit state, but I forgot that `unsigned long` was 32-bit on some systems.
https://github.com/llvm/llvm-project/pull/98692
More information about the libc-commits
mailing list