Skip to content
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 std::math::fp4::square_ext #1990

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add std::math::fp4::square_ext #1990

wants to merge 2 commits into from

Conversation

georgwiese
Copy link
Collaborator

The analog of #1989 for Fp2.

@georgwiese georgwiese marked this pull request as ready for review October 30, 2024 12:18
Comment on lines 444 to 456
let analyzed = std_analyzed::<Mersenne31Field>();
evaluate_function(&analyzed, "std::math::fp4::test::add", vec![]);
evaluate_function(&analyzed, "std::math::fp4::test::sub", vec![]);
evaluate_function(&analyzed, "std::math::fp4::test::mul", vec![]);
evaluate_function(&analyzed, "std::math::fp4::test::square", vec![]);
evaluate_function(&analyzed, "std::math::fp4::test::inverse", vec![]);

let analyzed = std_analyzed::<KoalaBearField>();
evaluate_function(&analyzed, "std::math::fp4::test::add", vec![]);
evaluate_function(&analyzed, "std::math::fp4::test::sub", vec![]);
evaluate_function(&analyzed, "std::math::fp4::test::mul", vec![]);
evaluate_function(&analyzed, "std::math::fp4::test::square", vec![]);
evaluate_function(&analyzed, "std::math::fp4::test::inverse", vec![]);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be testing with these fields, because we'd also be using Fp4 for those.

Schaeff
Schaeff previously approved these changes Oct 31, 2024
chriseth
chriseth previously approved these changes Oct 31, 2024
@chriseth chriseth added this pull request to the merge queue Oct 31, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Oct 31, 2024
@leonardoalt
Copy link
Member

conflicts

@georgwiese georgwiese dismissed stale reviews from chriseth and Schaeff via c0860ab November 11, 2024 14:26
@georgwiese
Copy link
Collaborator Author

Fixed the conflicts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants