Commit Graph

8 Commits

Author SHA1 Message Date
Weikeng Chen
1ad210462c Implement the Sum trait for FpVar (#71)
* impl sum for fpvar

* fmt

* grammar

* update the CHANGELOG
2021-07-04 12:38:05 -07:00
Weikeng Chen
b741ffc33d replace rand with ark_std::rand and drop rand_xorshift (#51) 2021-02-04 14:24:29 -08:00
Dev Ojha
f88d7c6ea3 Make mul_by_inverse use one constraint (#42)
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
2021-01-15 10:55:26 -08:00
jon-chuang
905e7284b2 Reduce density of ThreeBitCondNegLookup 2020-11-25 00:26:32 -08:00
Weikeng Chen
f4691621ee Add ToConstraintFieldGadget for ProjectiveVar (#13) 2020-11-12 01:41:59 -08:00
Weikeng Chen
8dca325042 Make ToBitsGadget for FpVar's output constant-length (#12)
This is related to a Zexe issue https://github.com/scipr-lab/zexe/issues/289

Basically, ToBitsGadget for FpVar may produce shorter output for a constant value, which is undesired for a few reasons.
2020-11-12 01:18:43 -08:00
Kobi Gurkan
e5ec2e66d3 fix: fix wrong constant case detection in three_bit_cond_neg_lookup 2020-10-30 15:40:15 -07:00
Pratyush Mishra
636f93a3e5 Update to arkworks libraries (#3)
Co-authored-by: Nicholas Ward <npward@berkeley.edu>
2020-10-19 11:07:59 -07:00