IHateMyJob2004
Lifer
How does one convert a little endian float to a big endian float?
Say you have this in little endian:
0xABCD1234
What would that be in big endian?
I tried Googling for information on 64 bit endianness and had no luck. Any links to articles on the matter would be appreciated.
The answer should be one of the following:
0x4321DCBA
oxDCBA4321
Basically, are all 8 bytes flipped or are the first 4 flipped separately from the second 4 bytes?
Say you have this in little endian:
0xABCD1234
What would that be in big endian?
I tried Googling for information on 64 bit endianness and had no luck. Any links to articles on the matter would be appreciated.
The answer should be one of the following:
0x4321DCBA
oxDCBA4321
Basically, are all 8 bytes flipped or are the first 4 flipped separately from the second 4 bytes?