KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is it possible to convert float s from big to little endian? I have a big endian value from a PowerPC platform that I am sendING via TCP to a Windows process (little endian). This value is a float , but when I memcpy the value into a Win32 float type and then call _byteswap_ulong on that value, I always get 0.0000? What am I doing wrong?
Tags (comma-separated)
Save Edits
Cancel