[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            bitrevl - bit reverse a long

  Syntax              unsigned char bitrevl(unsigned long value);

  Prototype in        mathhk.h

  Remarks             bitrevl() will reverse the bits in the double word
                      (long) value.

  Return value        returns the reversed long.

  See also            bitrevb(), bitrevw()

  Example             #include <mathhk.h>

                      main()
                      {
                           printf("0x00000001 reversed => 0x%08X\n",
                                  bitrevb(0x00000001));
                      }

  Program output      0x00000001 reversed => 0x80000000


See Also: bitrevb() bitrevw()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson