How to reverse bits...

News system news at ism780c.isc.com
Wed Aug 15 03:50:17 AEST 1990


In article <1990Aug13.222454.3862 at craycos.com> pmk at craycos.com (Peter Klausler) writes:
>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.

Reversing the bits in a char variable is tricky to say the least.  The C
language does not specify the number of bits in a char variable.

   Marv Rubinstein



More information about the Comp.lang.c mailing list