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

Comparing libecb/ecb.pod (file contents):
Revision 1.40 by root, Mon May 28 08:28:26 2012 UTC vs.
Revision 1.41 by root, Mon May 28 08:40:25 2012 UTC

436For example: 436For example:
437 437
438 ecb_ctz32 (3) = 0 438 ecb_ctz32 (3) = 0
439 ecb_ctz32 (6) = 1 439 ecb_ctz32 (6) = 1
440 440
441=item bool ecb_is_pot32 (uint32_t x)
442
443=item bool ecb_is_pot64 (uint32_t x)
444
445Return true iff C<x> is a power of two or C<x == 0>.
446
447For smaller types then C<uint32_t> you can safely use C<ecb_is_pot32>.
448
441=item int ecb_ld32 (uint32_t x) 449=item int ecb_ld32 (uint32_t x)
442 450
443=item int ecb_ld64 (uint64_t x) 451=item int ecb_ld64 (uint64_t x)
444 452
445Returns the index of the most significant bit set in C<x>, or the number 453Returns the index of the most significant bit set in C<x>, or the number

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines