🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #305

Re: (or does it?)

#305
From: Guy Harris
Date: Fri, 12 Sep 1986 18:53
19 lines
1323 bytes
> There may be some point allowing a terminal "u" (or "U") to specify an
> unsigned constant, so that "1u" would be of type "unsigned int"...

There's definitely a point in allowing that - ANSI C compatibility.  From
the May 1, 1986 draft, p. 23:

	   The type of an integer constant is the first of the
	corresponding list in which its value can be represented.
	Unsuffixed decimal: "int", "long int", "unsigned long int";
	unsuffixed octal or hexadecimal: "int", "unsigned int",
	"long int", "unsigned long int"; suffixed by the letter "u"
	or "U": "unsigned int", "unsigned long int"; suffixed by the
	letter "l" or "L": "long int", "unsigned long int";
	suffixed by both the letters "u" or "U" and "l" or "L":
	"unsigned long int".
-- 
	Guy Harris
	{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
	guy@sun.com (or guy@sun.arpa)
Technical Details
Message-ID: <7206@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!decwrl!sun!guy
References: <6021@alice.uUCp> <1800@mmintl.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!decwrl!sun!guy
From: guy@sun.uucp (Guy Harris)
Newsgroups: net.lang.c++
Subject: Re: (or does it?)
Message-ID: <7206@sun.uucp>
Date: Fri, 12-Sep-86 14:53:34 EDT
Article-I.D.: sun.7206
Posted: Fri Sep 12 14:53:34 1986
Date-Received: Sat, 13-Sep-86 01:48:36 EDT
References: <6021@alice.uUCp> <1800@mmintl.UUCP>
Organization: Sun Microsystems, Inc.
Lines: 19