Skip to content

M2: integer representation and two's complement - #3

Merged
pgousdal merged 8 commits into
mainfrom
m2-integer-representation
Sep 28, 2026
Merged

pgousdal merged 8 commits into
mainfrom
m2-integer-representation

Conversation

@pgousdal

Copy link
Copy Markdown
Contributor

M2 — Integer Representation

Adds the first deeper machine-representation block on top of qualified M1.

  • unsigned fixed-width integers and ranges
  • overflow, wraparound and modulo 2^n
  • sign-magnitude and ones' complement context
  • two's-complement signed ranges
  • encoding/decoding negative values
  • minimum-value edge case
  • carry versus signed overflow
  • Norwegian and English course chapters
  • exercises with worked solutions

Qualification uses the existing HTML/EPUB/PDF/Kindle pipeline.

@pgousdal
pgousdal merged commit fac1a3b into main Sep 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant