Skip to content

v0.0.8

Latest
Compare
Choose a tag to compare
@zsoltoroszlany82 zsoltoroszlany82 released this 18 Apr 11:52
· 2 commits to main since this release

Character Handling (%c):

  • Added modulo 256 truncation to align with C's unsigned char behavior, ensuring values wrap within 0-255.
  • Negative inputs now wrap via modulo 256 (e.g., -1 becomes 255).

Binary Handling (%b):

  • Negative numbers now use 32-bit two's complement (e.g., -5 becomes 11111111111111111111111111111011).
  • Values are truncated to 32 bits via & 0xFFFFFFFF to mimic C's integer overflow.

Full Changelog: v0.0.7...v0.0.8