Article View: comp.lang.c.moderated
Article #2518Re: Is 300F a valid float constant?
From: Thad Smith
Date: Fri, 05 Apr 1996 00:51
Date: Fri, 05 Apr 1996 00:51
13 lines
944 bytes
944 bytes
In article <4jv7es$d2i@solutions.solon.com>, rdwells@mmm.com wrote: >VC++ rejects 300F as a float constant, but my reading of >the syntax part of section 6.1.3.1 of the standard indicates >that it should be valid: > > 300 is a valid digit-sequence > a digit-sequence alone is a valid fractional-constant You must have one of the flawed copies of the ANSI/ISO standard. In the definition of fractional-constant there is a period after digit-sequence (at least in the ANSI original). Thad
Technical Details
Message-ID:
<4k1qpn$5o6@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<4jv7es$d2i@solutions.solon.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: thads@csn.net (Thad Smith) Newsgroups: comp.lang.c.moderated Subject: Re: Is 300F a valid float constant? Date: 4 Apr 1996 18:51:03 -0600 Organization: T3 Systems Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4k1qpn$5o6@solutions.solon.com> References: <4jv7es$d2i@solutions.solon.com> Reply-To: ThadSmith@acm.org NNTP-Posting-Host: solutions.solon.com