You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feedback from @guipublic on how ACIR toradix handles these edge cases:
If radix == 0, returns an error
if radix > 256, returns an error
If num_limbs ==0, valid only if the input == 0 otherwise return an error
Remark 1: ACIR additionally restricts radix to be a power of two (Brillig VM is more permissive)
Remark 2: ACIR toradix does not support any input related to bit vs byte mode
@guipublic Do you mind mentioning how radix == 1 is handled here?
Discrepancy with BrilligVM:
Both BrilligVM and AVM TS simulator:
Note on radix ==1: Current code would return zero values which I think it is perfectly fine. Should we enforce radix > 1
Apply the above to the AVM circuit (possibly unconstrained).
The text was updated successfully, but these errors were encountered: