[cxx-abi-dev] Clarification on floating point literal mangling

Mark Mitchell mark at codesourcery.com
Mon Aug 2 17:38:01 UTC 2010


Mike Herrick wrote:

> We recently ran across this seeming inconsistency with the
> description of mangling for floating point literals.  The current
> wording calls for both "fixed-length" and "without leading zeroes".
> We think the "without leading zeroes" portion should be removed to
> match existing practice:

Makes sense to me.  I suppose that "without leading zeroes" is actually
technically superior, in that it leads to a more compact mangling in
some cases, but if that's not what anybody implements then we should
correct the specification.

If any of the other implementors (HP, IBM, etc.) do not emit the leading
zeroes, please speak up!

-- 
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713



More information about the cxx-abi-dev mailing list