r/ProgrammingLanguages • u/Nuoji C3 - http://c3-lang.org • May 03 '26
Blog post Unsigned Sizes: A Five Year Mistake
https://c3-lang.org/blog/unsigned-sizes-a-five-year-mistake/
91
Upvotes
r/ProgrammingLanguages • u/Nuoji C3 - http://c3-lang.org • May 03 '26
View all comments
Show parent comment
2
u/QuaternionsRoll May 04 '26
No, it would produce a
u2039(ceil(log2(255**255))). It doesn’t really matter though, the upper 2031 bits will never be computed if the result is cast tou8.