Comment

Comment by ynik

A single-bit bitfield has only a sign bit, no value bits.

Prior to C23 there was no guarantee of two's complement, so it was possible that such a field could only hold the value 0.

parent ynik 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton