News for hackers. Stuff that matters.
Re:C++ proposal: There are 8 bits in a byte by Someone on Friday October 18, 2024 @07:10AM (#41878278)
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.

There are no comments on this comment yet.