Skip to content

Allow bool to integer casts#1445

Merged
sbillig merged 1 commit into
argotorg:masterfrom
sbillig:bool-as-int-cast
May 16, 2026
Merged

Allow bool to integer casts#1445
sbillig merged 1 commit into
argotorg:masterfrom
sbillig:bool-as-int-cast

Conversation

@sbillig
Copy link
Copy Markdown
Collaborator

@sbillig sbillig commented May 15, 2026

Needed for efficient branchless code in uniswap, eg solady implementation of most/leastSignificantBit.

@sbillig sbillig force-pushed the bool-as-int-cast branch from a789ecb to 979e87c Compare May 16, 2026 02:43
@sbillig sbillig merged commit 37eecdf into argotorg:master May 16, 2026
5 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.

1 participant