This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]