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

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Nov 25 21:50:00 GMT 2003


Carlo Wood <carlo@alinoe.com> writes:

| On Tue, Nov 25, 2003 at 05:12:36PM +0100, Gabriel Dos Reis wrote:
| > Carlo Wood <carlo@alinoe.com> writes:
| > 
| > | That means indeed a form for SNaN, QNaN, +Inf, -Inf,
| > 
| > How do you spell literals SNaN, QNaN, +Inf and -Inf?
| 
| Probably NaN is not possible. 

Good.

| But you can type 1e1000
| and -1e1000 to get +Inf and -Inf.

You get +Inf or -Inf only if you ascribe/assume a given data type
(with a limited precision) of an object that will contain that value.
I.e. You're getting the value that would be represented in an object,
while the issue here is that of a *literal* value.  Not quite the same.
 
| > signed zeros are spelt +0 and -0.
| 
| Actually, I can't produce a -0 either as literal in
| a symbol.

Huh???? 

-- Gaby



More information about the Libstdc++ mailing list