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
There's a snippet below the table which covers the u256 case.
In addition to the integer types above, arbitrary bit-width integers can be referenced by using an identifier of i or u followed by digits. For example, the identifier i7 refers to a signed 7-bit integer. The maximum allowed bit-width of an integer type is 65535.
But what is bigint for? Isn't u65535 can cover most of the needs for big numbers?
u65535 is big, but it's not arbitrarily big/small to fit your needs. The bigint implementation in the std is used to implement comptime_ints in the self hosted compiler.
We have mentions of u256 but master documentation mentions only u128.
Also, we have bigint struct without any hints what it actually is and what maximum value it can represent, 300^40?
p.s. I don't have much experience in system programming
The text was updated successfully, but these errors were encountered: