Path: utzoo!mnetor!uunet!mfci!root From: root@mfci.UUCP (SuperUser) Newsgroups: comp.lang.c Subject: Re: C Style Message-ID: <364@m3.mfci.UUCP> Date: 25 Apr 88 05:30:09 GMT References: <11216@brl-adm.ARPA> <2111@chinet.UUCP> <4403@garfield.UUCP> <20126@think.UUCP> <601@vsi.UUCP> Reply-To: karzes@mfci.UUCP (Tom Karzes) Organization: Multiflow Computer Inc., Branford Ct. 06405 Lines: 8 Summary: Expires: Followup-To: Distribution: Keywords: In article <601@vsi.UUCP> friedl@vsi.UUCP (Stephen J. Friedl) writes: >Techinically, shouldn't TRUE be `1U' if it goes into a bitfield? >I'm not sure but would like to hear some thoughts on this... TRUE should have the same type and value as the constant expression (0 == 0). Similarly, FALSE should have the same type and value as the constant expression (0 != 0). This principle holds for any language. In the case of C, TRUE and FALSE are signed 1 and signed 0, resp.