Skip to content

M8: numbers in C and Python - #9

Merged
pgousdal merged 4 commits into
mainfrom
m8-c-python
Sep 28, 2026
Merged

pgousdal merged 4 commits into
mainfrom
m8-c-python

Conversation

@pgousdal

Copy link
Copy Markdown
Contributor

M8 — Numbers in C and Python

  • binary, hexadecimal and decimal literals
  • C fixed-width integer types
  • unsigned modulo arithmetic versus signed overflow
  • Python arbitrary-size integers
  • explicit masking to model finite-width registers
  • bitwise operations and shifts
  • parsing values in different bases
  • formatting binary and hexadecimal output
  • language model versus machine model
  • Norwegian and English chapters
  • exercises and worked solutions

@pgousdal
pgousdal merged commit 3e0f226 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