Ticket #18 (new defect)

Opened 9 years ago

Int Bug

Reported by: dom Owned by: dan
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:


You've changed

encodeNNBIntBits :: (Integer, Integer) -> BitStream
    = reverse . (map fromInteger) . unfoldr encodeNNBIntBitsAux


encodeNNBIntBits :: (Int, Int) -> BitStream
    = 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.