Xref: utzoo comp.lang.c++:4860 comp.lang.c:22359
Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!unido!ztivax!tumuc!lan!foessmei
From: foessmei@lan.informatik.tu-muenchen.dbp.de (Reinhard Foessmeier)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: Time to standardize "true" and "false"
Message-ID: <822@tuminfo1.lan.informatik.tu-muenchen.dbp.de>
Date: 28 Sep 89 08:51:10 GMT
References: <13730@well.UUCP> <1989Sep22.073138.19684@lth.se> <1885@mva.cs.liv.ac.uk> <7701@bunker.UUCP> <12067@cit-vax.Caltech.Edu>
Sender: news@lan.informatik.tu-muenchen.dbp.de
Reply-To: foessmei@lan.informatik.tu-muenchen.dbp.de (Reinhard Foessmeier)
Followup-To: comp.lang.c++
Organization: Inst. fuer Informatik, TU Muenchen, FR Germanio
Lines: 27
In article <12067@cit-vax.Caltech.Edu> wen-king@cit-vax.UUCP (Wen-King Su) writes:
>...
>It doesn't have to be 32 bits. Besides, using 32 bits is perfectly OK
>if it makes the program faster and if speed is what you are after. If
>space is more important, you can do with 1 bit if you use bit field.
>We can do just fine with what we got, so the question is why is boolean
>needed and why is it, as you say, logical (perhaps you forgot a smiley).
>--
^Ci tiu diskuto iris tute alian This discussion has taken a road com-
vojon ol mi komence imagis. ^Cu pletely different from what I first
ne unu el la precipaj avanta^goj imagined. Wouldn't one of the main
de C-tipo `boolean' estus, ke ^gi advantages of a `boolean' type in C
ebligus pli striktan kontrolon de be the possibility for stricter type
tipoj (pli ol la ^sparo de kelkaj checking (rather than saving a few
bitoj)? Kompreneble, tiuj belaj bits)? Of course, such beloved con-
konstrua^joj "x/*------------------------------------------------------------------------*\
>| Wen-King Su wen-king@vlsi.caltech.edu Caltech Corp of Cosmic Engineers |
>\*------------------------------------------------------------------------*/
__________
Reinhard F\"ossmeier, Technische Univ. M\"unchen | UNOX is a trademark of
foessmeier@infovax.informatik.tu-muenchen.dbp.de | "Union Deutsche
[ { relay.cs.net | unido.uucp } ] | Lebensmittelwerke GmbH"