-
Notifications
You must be signed in to change notification settings - Fork 433
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
feat: fptower and tests #1239
feat: fptower and tests #1239
Conversation
@@ -0,0 +1,332 @@ | |||
use crate::air::{BaseAirBuilder, MachineAir, Polynomial, SP1AirBuilder}; |
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.
Can you clean up the unused imports?
} | ||
|
||
#[derive(Default)] | ||
pub struct FpAddAssignChip<P> { |
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.
I think you can have this struct be like this
pub struct FpOperationChip<P> {
pub operation: Operation
}
And then you can just have FpOperationCols
that basically will compile all of the logic for add/mul
8b88ae7
to
49350b3
Compare
07d5242
to
c16be0f
Compare
f2f4453
to
d1859d1
Compare
Fp Tower precompiles: