[PATCH] Add getSwappedBytes implementations for float / double
Matt Arsenault
Matthew.Arsenault at amd.com
Mon Jan 12 11:36:08 PST 2015
On 01/12/2015 10:00 AM, Mehdi AMINI wrote:
> It does not seems true in C, I'm unsure for C++.
C99 6.2.6.1 7 says "When a value is stored in a member of an object of
union type, the bytes of the object representation do not correspond to
that member but do correspond to other members take unspecified values"
I guess unspecified values could mean undefined behavior?
More information about the llvm-commits
mailing list