Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!pikes!aspen.craycos.com!pmk From: pmk@craycos.com (Peter Klausler) Newsgroups: comp.lang.c Subject: Re: How to reverse bits... Message-ID: <1990Aug13.222454.3862@craycos.com> Date: 13 Aug 90 22:24:54 GMT Organization: Cray Computer Corporation Lines: 3 If the range of your bit-reversal function is limited to chars, use a lookup table. If your range is bigger, split your data into bytes and then use a lookup.