Skip to content

Collection of branchless algorithms from Hacker's Delight. #5202

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

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

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Jun 21, 2025

As well as some related improvements.

While we're there, we also normalize the shape of overflow checks in Math.xExact methods.

@sjrd sjrd requested a review from gzm0 June 21, 2025 15:13
As well as some related improvements.

While we're there, we also normalize the shape of overflow checks
in `Math.xExact` methods.
@sjrd sjrd force-pushed the hackers-delight-branchless-magic branch from dfd5b59 to 2f23075 Compare June 24, 2025 11:33
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