This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 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


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