[PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Nov 26 21:42:00 GMT 2003


Carlo Wood <carlo@alinoe.com> writes:

| On Wed, Nov 26, 2003 at 07:41:47AM +0100, Gabriel Dos Reis wrote:
| > normalizing floating literals helps escape the problems of
| > representations on different targets.
| 
| Only if you take the value of such literals after
| first normalizing them - everywhere of course, not
| only in template parameters.

yes, of course.  And that is what the compiler has been doing anyway.

[...]

| This means that the normalization needs to use the
| largest precision of all supported targets,

not necessarily.  The normalization uses the characteristics
(precision, ...) publicized in numeric_limits.

-- Gaby



More information about the Libstdc++ mailing list