Ticket #18 (new defect)
Opened 5 years ago
Int Bug
| Reported by: | dom | Owned by: | dan |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description
You've changed
encodeNNBIntBits :: (Integer, Integer) -> BitStream
encodeNNBIntBits
= reverse . (map fromInteger) . unfoldr encodeNNBIntBitsAux
to
encodeNNBIntBits :: (Int, Int) -> BitStream
encodeNNBIntBits
= reverse . (map fromIntegral) . unfoldr encodeNNBIntBitsAux
so now it doesn't work for numbers like 231
Similarly for to2sComplement. Can I leave to you to fix? Hopefully you have darcs working now otherwise we are going to get into a complete pickle.
Note: See
TracTickets for help on using
tickets.
