-
Notifications
You must be signed in to change notification settings - Fork 36
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
[FEATURE] Add Baby Bear Field #92
Conversation
8be1bba
to
795b8bc
Compare
Unsure how to deal with the It's cumbersome to always pass in that flag so I added a |
let a = a.v; | ||
let b = b.v; | ||
let mut res = [BabyBear::default(); 3]; | ||
res[0] = a[0] * b[0] + w * (a[1] * b[2] + a[2] * b[1]); |
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.
nits: W
is two so we should use double()
for performance
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.
good point, done
arith
package as an import from Plonky3