Comment on wowđ°
neukenindekeuken@sh.itjust.works â¨2⊠â¨weeks⊠ago
Int overflow, but with a signed int32
So achtually -1 "
-2,147,483,649, actually. A signed int32 can represent -1 just fine.
Yeah, unsigned ofc.
Unsigned jumps from 0 to 4,294,967,295. An overflow wonât get you to 2,147,483,647 unless you have a 31-bit uint for some reason.
Valmond@lemmy.dbzer0.com â¨2⊠â¨weeks⊠ago
So achtually -1 "
kkj@lemmy.dbzer0.com â¨2⊠â¨weeks⊠ago
-2,147,483,649, actually. A signed int32 can represent -1 just fine.
Valmond@lemmy.dbzer0.com â¨2⊠â¨weeks⊠ago
Yeah, unsigned ofc.
kkj@lemmy.dbzer0.com â¨2⊠â¨weeks⊠ago
Unsigned jumps from 0 to 4,294,967,295. An overflow wonât get you to 2,147,483,647 unless you have a 31-bit uint for some reason.