How to reverse bits...
Roy M. Silvernail
cybrspc!roy at cs.umn.edu
Wed Aug 15 16:15:00 AEST 1990
jtc at motcad.portal.com (J.T. Conklin) writes:
> Another useful table is one that flips the bits 1-for-0,0-for-1. This
> is useful for inverting an image.
Why would you use a table for this? I'd just XOR with 0xFF.
--
Roy M. Silvernail | #include <stdio.h> | Does virtual
now available at: | main(){ | reality need
cybrspc!roy at cs.umn.edu | float x=1; | swap space?
(cyberspace... be here!)| printf("Just my $%.2f.\n",x/50);} | -- me
More information about the Comp.lang.c
mailing list