lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Tony Finch wrote:
Older ARMs that use the FPA instructions store doubles with the most
significant word at the lower address even when running in little- endian mode (i.e. they are middle-endian). In more recent VFP ARMs the word order
of doubles follows the machine's endianness.

How can I detect if the running machine has middle-endian floats?

Which of the following byte orders do you mean?
A: 5 6 7 8   1 2 3 4
B: 7 8 5 6   3 4 1 2

Tim Maxwell