🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3519

Re: Integral promotion.

#3519
From: S. Lee
Date: Thu, 22 Feb 1996 00:56
20 lines
1151 bytes
In article <4gfgfp$3k8@solutions.solon.com>,
Tanmoy Bhattacharya <tanmoy@qcd.Lanl.GOV> wrote:
>In article <4gf99c$1fp@solutions.solon.com> sl14@crux3.cit.cornell.edu
>(S. Lee) writes: 

[lossy compression]

>Furthermore, what x1 is promoted to does not depend on the _value_ of
>x1, but the _type_ of x1. If all values that the type can hold can fit
>into an int, it becomes an int: otherwise it becomes an unsigned
>int.

Yes, I was confused by this statement.  I thought it referred to the
value.

Your message clears it up for me.  Thanks.

Rgds
sl14@cornell.edu
Witty .sig under construction.
Technical Details
Message-ID: <4ggf0a$8qi@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4fstj7$2l6@solutions.solon.com> <4g55fl$avl@solutions.solon.com> <4gf99c$1fp@solutions.solon.com> <4gfgfp$3k8@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: sl14@crux1.cit.cornell.edu (S. Lee)
Newsgroups: comp.std.c,comp.lang.c.moderated
Subject: Re: Integral promotion.
Date: 21 Feb 1996 18:56:42 -0600
Organization: Nekomi Institute of Technology
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4ggf0a$8qi@solutions.solon.com>
References: <4fstj7$2l6@solutions.solon.com> <4g55fl$avl@solutions.solon.com> <4gf99c$1fp@solutions.solon.com> <4gfgfp$3k8@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com