ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.pod
(Generate patch)

Comparing libecb/ecb.pod (file contents):
Revision 1.31 by root, Fri Jun 17 15:17:26 2011 UTC vs.
Revision 1.32 by sf-exg, Fri Jun 17 15:55:41 2011 UTC

414 414
415=item int ecb_ctz32 (uint32_t x) 415=item int ecb_ctz32 (uint32_t x)
416 416
417Returns the index of the least significant bit set in C<x> (or 417Returns the index of the least significant bit set in C<x> (or
418equivalently the number of bits set to 0 before the least significant bit 418equivalently the number of bits set to 0 before the least significant bit
419set), starting from 0. If C<x> is 0 the result is undefined. A common use 419set), starting from 0. If C<x> is 0 the result is undefined. For example:
420case is to compute the integer binary logarithm, i.e., C<floor (log2
421(n))>. For example:
422 420
423 ecb_ctz32 (3) = 0 421 ecb_ctz32 (3) = 0
424 ecb_ctz32 (6) = 1 422 ecb_ctz32 (6) = 1
425 423
426=item int ecb_popcount32 (uint32_t x) 424=item int ecb_popcount32 (uint32_t x)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines