Software Archive
Read-only legacy content
17061 Discussions

IEEE floating point byte ordering

kencclark
Beginner
336 Views
Can anyone confirm that the byte ordering of Intel x86 IEEE floating point binary data is reversed with respect to PowerPC (big endian) data? I have a file containing binary floating point data that was created on an x86 machine, and I need to read it on a PowerPC machine. I'm trying to understand whether the IEEE floating point standard specifies the exact byte ordering, or whether the byte ordering depends upon the processor...

0 Kudos
1 Reply
James_M_Intel1
Employee
336 Views
I've not used a PowerPC-based system, but, Yes, Intel x86 processors are little endian. You might want to search the web however. In my short search I found that PowerPC processors are switchable allowing them to be configured as little endian or big endian.
0 Kudos
Reply