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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We can have
Serde
implemented in at least two ways,1.
inner
integer andsign
bool in separate felts,2.
sign
added as 33rd bit on top ofinner
, putting everything in one felt.i33 {inner: 1, sign: false}
1
0b1
i33 {inner: 1, sign: true}
4294967297
0b100000000000000000000000000000001
Example Implementation
To me, the second way seems better, more semantic. Let me know what we think.
Beta Was this translation helpful? Give feedback.
All reactions