Re: [RFC PATCH 1/2] bits: introduce ffs_val()

From: Maciej W. Rozycki

Date: Mon Jan 12 2026 - 20:40:45 EST


On Mon, 12 Jan 2026, David Laight wrote:

> OTOH I'm pretty sure most modern C code assumes two's compliment binary
> numbers (and NULL being the all-zero bit pattern).

FWIW ISO C23 mandates the two's complement integer sign representation.
Other sign representations are no longer allowed.

Maciej