Skip to content

Optimize divisions and remainders by constants. #5167

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented May 10, 2025

Needs more tests and benchmarks.

Also more references to sources, such as relevant papers.

@sjrd sjrd force-pushed the opt-divide-and-remainder branch 2 times, most recently from b0ca504 to 0ef8849 Compare June 2, 2025 15:34
@sjrd sjrd force-pushed the opt-divide-and-remainder branch from 0ef8849 to 560a48c Compare June 13, 2025 16:38
@sjrd sjrd force-pushed the opt-divide-and-remainder branch 2 times, most recently from 48c1aad to eee96e7 Compare June 23, 2025 15:09
Following the techniques described in Hacker's Delight, Chapter 10.
@sjrd sjrd force-pushed the opt-divide-and-remainder branch from eee96e7 to 864ebae Compare June 23, 2025 15:23
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.

1 participant