from Hacker News

Show HN: I wrote a blog post about the Two's Complement

by hadjian on 1/27/23, 10:49 PM with 2 comments

Hi folks,

I wrote a blog post about the two's complement. I always scratched my head about some details:

- "Take the ones' complement and add one" - "Half of the range are negative numbers" - etc.

Now I think I understand these details, but had to piece it together from some sources. I'd love to get your feedback on this post. Looking forward.

BR,

Pedram