Valid Numbers (was Re: 0x47e+barney not considered C)

Ron Natalie ron at topaz.rutgers.edu
Thu Jul 28 00:56:00 AEST 1988


It's obvious that the Microsoft C compiler is just plain wrong.
First, float numbers are not subject to the leading 0 and 0x
octal interpretation.  Second, even if the number were octal,
8's and 9's (probably not such a good idea) are legal and map
to octal 10's and 11's in that position.

-Ron



More information about the Comp.std.c mailing list