added support for floating point types in endian.hpp