Some sources claim that the IEEE754 floats are always kept little, but the IEEE754 specification for floating point numbers simply does not cover the problem of enditality and can vary from machine to machine. Here is a sample code for converting floating point / byte arrays:
It is displayed on a Little Indian machine:
float: 3.141590 byte array: D0: F: 49: 40 float: -3.141590 byte array: D0: F: 49: C0
Theoretically, on a large-end machine, the byte order would be reversed.
Link: http://betterexplained.com/articles/understanding-big-and-little-endian-byte-order/
source share