Skip to content

v1.1 Fix off by one error in right justified data

Latest
Compare
Choose a tag to compare
@bitswype bitswype released this 02 Oct 19:39
50c92a9

This version addresses the bug identified in issue #2. There was an off by one error in calculating an index which would cause the program to:

  1. Incorrectly convert right justified data (it was always 1/2 of what it should be, the least significant bit was being ignored)
  2. Crash when the number of data bits was equal to the number of bits per slot.