This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
rand(UInt32) gives low-quality results #655
Closed
Description
Describe the bug
rand(UInt32) gives low-quality results
To Reproduce
The Minimal Working Example (MWE) for this bug:
sum(isodd.(CuArrays.rand(UInt32, 10000)))
Expected behavior
Values should be evenly distributed. Instead there are--for example--very few odd numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment