Floating preprocessing numbers

Norman Diamond diamond at csl.sony.co.jp
Fri Oct 20 16:11:01 AEST 1989


In section 3.1.8, a preprocessing number does not acquire a type or a
value until conversion in translation phase 7.  I think there is an
omission.  A value, and surely a type, must be acquired when an #if
directive is examined during preprocessing.

So the question is, why can't a preprocessing number look like this?
    123.45e67
In any other context, e.g. an actual floating constant token in phase 7
which did not derive from a preprocessing number, this is acceptable.
The "e" does not have to be followed by a sign.  Why, for #if, must the
"e" be followed by a sign?  (And are there any other situations with
the same requirement?)

-- 
Norman Diamond, Sony Corp. (diamond%ws.sony.junet at uunet.uu.net seems to work)
  Should the preceding opinions be caught or     |  James Bond asked his
  killed, the sender will disavow all knowledge  |  ATT rep for a source
  of their activities or whereabouts.            |  licence to "kill".



More information about the Comp.std.c mailing list