The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CountBits


Unit:SDL_math1
Class:None
Declaration:function CountBits (InByte: byte): integer;

The function CountBits counts the number of 1 bits in the byte InByte and returns this number (0..7).



Last Update: 2012-Oct-20