Would float point format be affected by big-endian and little endian?

Thomson picture Thomson · Mar 9, 2011 · Viewed 8.9k times · Source

I know the integer format would be different between big-endian machine and little-endian machine, is it the same for float point format (IEEE 754)?

Answer

6502 picture 6502 · Mar 9, 2011

The IEEE754 specification for floating point numbers simply doesn't cover the endianness problem. Floating point numbers therefore may use different representations on different machines and, in theory, it's even possible that for two processors integer endianness is the same and floating point is different or vice-versa.

See this wikipedia article for more information.