-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add short range check to lookup_range_check
util
#132
Conversation
Also introduce a "strict" mode for the full-length lookup, where "true" requires the field element to be within num_words * K bits, whereas "false" does not.
6450edf
to
c43c91b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, meant to approve :-)
Codecov Report
@@ Coverage Diff @@
## main #132 +/- ##
==========================================
+ Coverage 81.44% 83.74% +2.30%
==========================================
Files 38 51 +13
Lines 2430 4299 +1869
==========================================
+ Hits 1979 3600 +1621
- Misses 451 699 +248
Continue to review full report at Codecov.
|
This PR introduces a range check for field elements <=
K
bits, using two lookups in aK
-bit table.This also introduces a
strict
mode for the full-length lookup (for field elements greater thanK
bits) to constrain the final running sum to 0.