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

sieve: Use saturating_add when computing next_base #61

Merged
merged 6 commits into from
Jun 7, 2024

Conversation

cuviper
Copy link
Collaborator

@cuviper cuviper commented Jun 7, 2024

Fixes #60, so we don't overflow usize on 32-bit targets at the end.

@cuviper cuviper merged commit 0cdec74 into huonw:master Jun 7, 2024
7 checks passed
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.

tests failing on i386 architecture: panicked at 'attempt to add with overflow'
1 participant