Skip to content

feat: support large literals in FF-limb decomp#53

Merged
jeanmon merged 2 commits intoAztecProtocol:avmfrom
IlyasRidhuan:ir/ff_limbs_ul
Apr 4, 2024
Merged

feat: support large literals in FF-limb decomp#53
jeanmon merged 2 commits intoAztecProtocol:avmfrom
IlyasRidhuan:ir/ff_limbs_ul

Conversation

@IlyasRidhuan
Copy link
Copy Markdown

No description provided.

1,
format!(
"FF(uint256_t{{{}, {}, {}, {}}})",
"FF(uint256_t{{{}LLU, {}LLU, {}LLU, {}LLU}})",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UL should do the job as we need integers of 64 bits, i.e., unsigned long on this architecture.
I am however very puzzled on how it compiled in the past as we have occurences like 2^48.

@jeanmon jeanmon merged commit 10267b9 into AztecProtocol:avm Apr 4, 2024
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