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
Copy file name to clipboardExpand all lines: ethereum/circuits/lib/README.md
+19-8Lines changed: 19 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,22 +237,33 @@ U256 is a structure to use as a type for big numbers.
237
237
It is used when dealing with numbers up to 2<sup>256</sup>. They can exceed Field maximum value.
238
238
In particular it is a word size in ETH and therefore it is a basic type used in both storage and slot values calculations.
239
239
240
-
[There](.src/uint256.nr)is an unoptimized implementation of this type using two U128 structures. Optimized version will appear in Noir.
240
+
This library uses `U256` from the [noir-bignum](https://github.com/noir-lang/noir-bignum) library. The [`uint256.nr`](./src/uint256.nr)module provides conversion utilities between `U256` and `Bytes32`/`Field` types.
241
241
242
-
Traits implemented for U256:
242
+
Traits implemented for U256 (from bignum library):
0 commit comments