Hacker News new | ask | show | jobs
by Someone 614 days ago
LLVM has:

i1 is 1 bit

i2 is 2 bits

i3 is 3 bits

i8388608 is 2^23 bits

(https://llvm.org/docs/LangRef.html#integer-type)

On the other hand, it doesn’t make a distinction between signed and unsigned integers. Users must take care to use special signed versions of operations where needed.