irmen/Pyrolite — pull request #11 by davies (2014-09-11 23:38:09+00:00)
Title: Fix endianness in array of float/double

PickleUtils.bytes_to_double() and PickleUtils.bytes_to_float() assume that the bytes is in big endian order, so it should reverse the bytes only when machine code is little endian order.

The serialized result of array of float/double used in unit tests is reversed, they had been corrected in this patch.