Skip to content

feat: move to_radix to a blackbox#6294

Merged
TomAFrench merged 4 commits into
masterfrom
arv/to_radix_blackbox
May 9, 2024
Merged

feat: move to_radix to a blackbox#6294
TomAFrench merged 4 commits into
masterfrom
arv/to_radix_blackbox

Conversation

@sirasistant

@sirasistant sirasistant commented May 9, 2024

Copy link
Copy Markdown
Contributor

This PR moves to_radix to a Brillig-specific blackbox. The AVM won't easily support field integer division, and the only usecase for field integer division in regular noir code is to radix / to bits. We extract to radix to a bb func so it can be directly integrated as a gadget in the avm.

@sirasistant sirasistant requested a review from IlyasRidhuan May 9, 2024 09:25
@sirasistant sirasistant marked this pull request as ready for review May 9, 2024 09:51
@sirasistant sirasistant requested a review from TomAFrench May 9, 2024 09:54
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