Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!uc!cs.umn.edu!cybrspc!roy From: cybrspc!roy@cs.umn.edu (Roy M. Silvernail) Newsgroups: comp.lang.c Subject: Re: How to reverse bits... Message-ID: Date: 15 Aug 90 06:15:00 GMT References: <1990Aug14.203212.16248@motcad.portal.com> Organization: Villa CyberSpace, Minneapolis, MN Lines: 11 jtc@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 | Does virtual now available at: | main(){ | reality need cybrspc!roy@cs.umn.edu | float x=1; | swap space? (cyberspace... be here!)| printf("Just my $%.2f.\n",x/50);} | -- me