Open Sword-Smith opened 1 year ago
Mul
u32
u64
u128
BFE
XFE
Div
Rem
Add
Sub
Eq
Lt
Shl
Shr
.count_ones()
popcount
Or
And
Xor
Edit: Remainders for finite field elements are not mathematically defined. So they should not be implemented. The type checker should catch that.
I will look at Rem.
I will look at Mul first
Mul
u32
u64
u128
BFE
XFE
Div
u32
u64
u128
BFE
XFE
Rem
u32
u64
u128
BFE
XFE
Add
u128
Sub
u128
Eq
u128
Lt
u128
Shl
u128
Shr
u128
.count_ones()
in terms ofpopcount
u32
u64
u128
Or
(binary)u128
And
(binary)u128
Xor
(binary)u128
Edit: Remainders for finite field elements are not mathematically defined. So they should not be implemented. The type checker should catch that.