msgpack / msgpack-haskell

Haskell implementation of MessagePack / msgpack.org[Haskell]
http://hackage.haskell.org/package/msgpack
138 stars 80 forks source link

32 bit float encoding looks incorrect #66

Closed hcarty closed 5 years ago

hcarty commented 8 years ago

Based on https://github.com/msgpack/msgpack-haskell/blob/master/msgpack/src/Data/MessagePack/Put.hs#L61 which, as of this writing, puts 0xcb rather that 0xca as the tag for a 32 bit floating point value.

I'm not a user of the library, just noticed the discrepancy while looking at msgpack implementations.

hvr commented 5 years ago

fixed by d6509c0f1cb4e2904fe662bebf198ad76f151746