Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!kth.se!news From: d87-jse@alv.nada.kth.se (Joakim Sernbrant) Newsgroups: comp.lang.c Subject: Re: How to reverse bits... Message-ID: Date: 14 Aug 90 22:50:54 GMT References: <2059@ux.acs.umn.edu> <1990Aug14.203212.16248@motcad.portal.com> Sender: news@kth.se (News Administrator) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 16 In-reply-to: jtc@motcad.portal.com's message of 14 Aug 90 20:32:12 GMT In article <1990Aug14.203212.16248@motcad.portal.com> jtc@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@nada.kth.se --