You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[libc] Change rand implementation so all tests pass in both 32- and 64-bit systems
The current xorshift star algorithm fails to produce uniform enough
values in 32-bit systems, so this patch changes the algorithm so the
tests now pass in both 32- and 64-bit systems.
The multiplifier used in the algorithm was obtained from "The Art of Computer
Programming" book. It is also used by musl and newlib.
0 commit comments