We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should support the operators ==.!= on the field type. This depends on snarkVM first implementing these features.
field
Fields should have equality operations, as this also blocks #946 and blocks #947. Which helps the implementation goal of #929.
impl<F: PrimeField> EvaluateEqGadget<F> for Field
leo/compiler/src/value/field/field_type.rs
impl<F: PrimeField> ComparatorGadget<F> for Field
impl<F: PrimeField> EqGadget<F> for Field
impl<F: PrimeField> ConditionalEqGadget<F> for Field
The text was updated successfully, but these errors were encountered:
gluax
Successfully merging a pull request may close this issue.
🚀 Feature
We should support the operators ==.!= on the
field
type.This depends on snarkVM first implementing these features.
Motivation
Fields should have equality operations, as this also blocks #946 and blocks #947.
Which helps the implementation goal of #929.
Implementation
Field Gadget
impl<F: PrimeField> EvaluateEqGadget<F> for Field
traitleo/compiler/src/value/field/field_type.rs
.impl<F: PrimeField> ComparatorGadget<F> for Field
traitleo/compiler/src/value/field/field_type.rs
.impl<F: PrimeField> EqGadget<F> for Field
traitleo/compiler/src/value/field/field_type.rs
.impl<F: PrimeField> ConditionalEqGadget<F> for Field
traitleo/compiler/src/value/field/field_type.rs
.Tests
field
type.field
type.The text was updated successfully, but these errors were encountered: