How to reverse bits...

Joakim Sernbrant d87-jse at alv.nada.kth.se
Wed Aug 15 08:50:54 AEST 1990


In article <1990Aug14.203212.16248 at motcad.portal.com> jtc at motcad.portal.com (J.T. Conklin) writes:

   [stuff about reversing bit order removed]

   Another useful table is one that flips the bits 1-for-0,0-for-1.  This
   is useful for inverting an image.

I can't imagine a lookup table for inverting bits can be faster or more
convenient than using xor...

Jocke

--
--  Joakim Sernbrant, Royal Institute of Technology, Stockholm, Sweden
--  Internet:  d87-jse at nada.kth.se
--



More information about the Comp.lang.c mailing list