Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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? 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