You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current code adds the implementation of UInt128, which is the constraint version of the primitive type u128.
The current implementation uses num-bigint instead of BigInteger256. However, there is no reason not to use BigInteger256 beside the (slight) code complexity. It should be possible to revise the current implementation to be based on solely BigInteger256.
There is a significant benefit of not using num-bigint because r1cs-std is a fundamental crate that is used by many applications. It is good to just keep it lightweight.
The text was updated successfully, but these errors were encountered:
The current code adds the implementation of
UInt128
, which is the constraint version of the primitive typeu128
.The current implementation uses
num-bigint
instead ofBigInteger256
. However, there is no reason not to useBigInteger256
beside the (slight) code complexity. It should be possible to revise the current implementation to be based on solelyBigInteger256
.There is a significant benefit of not using
num-bigint
becauser1cs-std
is a fundamental crate that is used by many applications. It is good to just keep it lightweight.The text was updated successfully, but these errors were encountered: