🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9412

Re: Promotion of integral types

#9412
From: Don Steiny
Date: Sat, 27 Sep 1986 18:09
19 lines
1365 bytes
In article <271@myrias.UUCP>, cmt@myrias.UUCP (Chris Thomson) writes:
> It is interesting to note that K&R does not say that unsigned char or
> unsigned short get promoted to unsigned int; it says that they get promoted
> to integer (on page 183), which is a bit vague.  

	Well, actually they do not mention unsigned char being as there
was no such thing in Version VI or even many Version VII systems.  In
fact the system I am using right now, an Interdata 8/32 with Wollongong
Edition VII does not have either unsigned char or unsigned long.

	What they say is that chars might sign extend and might not depending
on the machine, which is even more confusing.

-- 
scc!steiny
Don Steiny @ Don Steiny Software 
109 Torrey Pine Terrace
Santa Cruz, Calif. 95060
(408) 425-0382
Technical Details
Message-ID: <740@scc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!pyramid!ucat!scc!steiny
References: <3594@brl-smoke.ARPA> <1219@drutx.UUCP> <2233@gitpyr.UUCP> <271@myrias.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!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!pyramid!ucat!scc!steiny
From: steiny@scc.UUCP (Don Steiny)
Newsgroups: net.lang.c
Subject: Re: Promotion of integral types
Message-ID: <740@scc.UUCP>
Date: Sat, 27-Sep-86 14:09:15 EDT
Article-I.D.: scc.740
Posted: Sat Sep 27 14:09:15 1986
Date-Received: Tue, 30-Sep-86 07:20:43 EDT
References: <3594@brl-smoke.ARPA> <1219@drutx.UUCP> <2233@gitpyr.UUCP> <271@myrias.UUCP>
Organization: Don Steiny Software
Lines: 19
Summary: Unsigned char in K&R?