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
Probably not critical at this point, but it may be something we want to have eventually.
Possible uses:
handle very large integers (ie: overflowing U128 maths)
a convenient way to pack 4 u64's together as a single logical entity. Currently, users are trying to pack u64s into a b256 which is not really what a b256 is for semantically. This may in part be due to a misunderstanding of storage slots and word size in the FuelVM; Devs familiar with Solidity are often familiar with packing as much data as possible into a uint256 (a single storage slot).
Note: The basic U256 is implemented in #2103.
TODO:
add math operations to U256
add bitwise operations to U256
The text was updated successfully, but these errors were encountered:
Probably not critical at this point, but it may be something we want to have eventually.
Possible uses:
U128
maths)u64
's together as a single logical entity. Currently, users are trying to packu64
s into ab256
which is not really what ab256
is for semantically. This may in part be due to a misunderstanding of storage slots and word size in the FuelVM; Devs familiar with Solidity are often familiar with packing as much data as possible into auint256
(a single storage slot).Note: The basic
U256
is implemented in #2103.TODO:
U256
U256
The text was updated successfully, but these errors were encountered: