Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

IEEE floating point byte ordering

kencclark
Beginner
532 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
532 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