-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use bit shifting instead of math:power #5
base: master
Are you sure you want to change the base?
Conversation
looks like a good idea, but the patch I just merged conflicts - please update if you'd like to get this in |
I have merged the changes. Please review and pull. |
Since crypto:rand_uniform returns N, with Lo <= N < Hi, we don't need -1 here.
Sorry about that. I included those changes and removed the |
ok great. @robertoaloi @shoehn would you mind taking a look too? I'm far enough out from all of this that I'm not 100% sure this is right. if you don't get to it I'll test it sometime soon and get it merged. thanks for the patch @sluu99 ! |
shoot, haven't gotten to this yet and it looks like it's become unmergable in the mean time - could you update this PR to make it mergable? thanks! |
No description provided.