-
Notifications
You must be signed in to change notification settings - Fork 103
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
range32 checking for added to mips #2733
base: sai/add-range32-check
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## sai/add-range32-check #2733 +/- ##
=========================================================
- Coverage 72.49% 72.47% -0.02%
=========================================================
Files 247 247
Lines 57734 57741 +7
=========================================================
- Hits 41852 41849 -3
- Misses 15882 15892 +10 ☔ View full report in Codecov by Sentry. |
@@ -168,6 +168,10 @@ impl<Fp: Field> InterpreterEnv for Env<Fp> { | |||
Self::Variable::constant(Operations::from(Literal(Fp::from(x)))) | |||
} | |||
|
|||
fn constant64(x: u64) -> Self::Variable { | |||
Self::Variable::constant(Operations::from(Literal(Fp::from(x)))) |
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.
Note that you can always use Self::Variable::from(x as u64)
.
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.
This seems wrong. The SRS is not big enough, in particular.
See #2732 (comment) |
I have yet to add the contraints for this PR, I am currently unsure what to constrain as 32 and 64 bits.