Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Use bit shifting instead of math:power #5

wants to merge 5 commits into from

Conversation

snluu
Copy link

@snluu snluu commented Feb 9, 2013

No description provided.

@travis
Copy link
Owner

travis commented Mar 28, 2013

looks like a good idea, but the patch I just merged conflicts - please update if you'd like to get this in

@snluu
Copy link
Author

snluu commented Mar 29, 2013

I have merged the changes. Please review and pull.
Thanks!

@travis
Copy link
Owner

travis commented Mar 29, 2013

don't we still want to stick with crypto:rand_uniform per @shoehn's changes here: #4 ?

Since crypto:rand_uniform returns N, with Lo <= N < Hi, we don't need -1 here.
@snluu
Copy link
Author

snluu commented Mar 29, 2013

Sorry about that. I included those changes and removed the -1's.

@travis
Copy link
Owner

travis commented Mar 29, 2013

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 !

@travis
Copy link
Owner

travis commented Apr 14, 2013

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants