[cxx-abi-dev] Clarification about mangling floating point literals

Matthew Dempsky matthew at dempsky.org
Tue Jun 11 04:59:41 UTC 2013


According to the C++ ABI:

"Floating-point literals are encoded using a fixed-length lowercase
hexadecimal string corresponding to the internal representation (IEEE
on Itanium), high-order bytes first, without leading zeroes."

Can someone please clarify for me how floating-point literals can be
encoded as a "fixed-length" string but "without leading zeros"?  E.g.,
how should 0.0f be encoded?


More information about the cxx-abi-dev mailing list