]>
gcc.gnu.org Git - gcc.git/blob - libiberty/ffs.c
1 /* ffs -- Find the first bit set in the parameter
3 @deftypefn Supplemental int ffs (int @var{valu})
5 Find the first (least significant) bit set in @var{valu}. Bits are
6 numbered from right to left, starting with bit 1 (corresponding to the
7 value 1). If @var{valu} is zero, zero is returned.
22 for (bit
= 1; !(valu
& 1); bit
++)
This page took 0.037221 seconds and 5 git commands to generate.