Comment

Comment by MathMonkeyMan

Unsigned ints are the non-negative integers mod 2^n.

Signed ints behave like the integers in some tiny subset of representable values. Maybe it's something like the interval (-sqrt(INT_MAX), sqrt(INT_MAX)).

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton