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

Changed division to handle certain edge cases #6

Merged
merged 1 commit into from
Jun 7, 2016

Conversation

AB95
Copy link
Contributor

@AB95 AB95 commented Jun 7, 2016

Zhi could be off in rare edge cases. In the subtraction phase, q.limbs[v+i] + r.limbs[i] returned a uint32 before being added to carry, which could result in overflow.

@def-
Copy link
Member

def- commented Jun 7, 2016

Nice, you found it. Closes #5! Thank you.

@def- def- merged commit a03c226 into nim-lang:master Jun 7, 2016
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