Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 331 Bytes

File metadata and controls

18 lines (16 loc) · 331 Bytes

Bit-Manipulation

This repository houses bit manipulation functions. This exercise was an assignment in my Computer System class. See bits.h for detailed explanation of functions.

Functions:

  • bitXor
  • thirdBits
  • upperBits
  • byteSwap
  • copyLSB
  • divpwr2
  • isEqual
  • isLess
  • rempwr2
  • satMul2
  • bang
  • reverseBits
  • ilog2