Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the Random(a,b) function (line 25) the for loop should go from 0 to bits - 1 (line 29) because we want to generate numbers from range 0 to 2 ^ bits (not 2 ^ bits + 1). Also there should be left shift operation (<<). (line 31)
- Loading branch information