From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, STOX_REPLY_TYPE autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 1014db,edd83659ff9286d0 X-Google-NewGroupId: yes X-Google-Thread: 103376,1cd9f7e5a0d12003 X-Google-NewGroupId: yes X-Google-Thread: 1094ba,1cd9f7e5a0d12003 X-Google-NewGroupId: yes X-Google-Attributes: gid4516fb5702,gida07f3367d7,gid8d3408f8c3,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.241.98 with SMTP id wh2mr278100pbc.7.1337707719461; Tue, 22 May 2012 10:28:39 -0700 (PDT) Path: pr3ni28538pbb.0!nntp.google.com!news1.google.com!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "BartC" Newsgroups: comp.lang.c,comp.lang.ada,comp.lang.fortran Subject: Re: condition true or false? -> (-1 < sizeof("test")) Date: Tue, 22 May 2012 18:26:58 +0100 Organization: A noiseless patient Spider Message-ID: References: <15puwddz4h6cl$.34i9lxveafeb.dlg@40tude.net> <3b5cewxtwayd.x41gqd4lwwm9.dlg@40tude.net> Mime-Version: 1.0 Injection-Date: Tue, 22 May 2012 17:27:18 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="g02lTOQ/PuOntaKLE4vnTw"; logging-data="14715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RoEWtTmEHU1d3+dYWtRrn" X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 In-Reply-To: <3b5cewxtwayd.x41gqd4lwwm9.dlg@40tude.net> X-Antivirus-Status: Clean X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726 Importance: Normal X-Antivirus: avast! (VPS 120522-0, 22/05/2012), Outbound message Cancel-Lock: sha1:lcWVA4zMqtKPJbATblCYdkNvIOY= X-Priority: 3 X-MSMail-Priority: Normal Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Date: 2012-05-22T18:26:58+01:00 List-Id: "Dmitry A. Kazakov" wrote in message news:3b5cewxtwayd.x41gqd4lwwm9.dlg@40tude.net... > On Tue, 22 May 2012 17:25:17 +0100, BartC wrote: >> "Dmitry A. Kazakov" wrote in message >>> The answer is to have + and - >>> closed. What about *? That would make it x2 bits wider. What about >>> exponentiation? Much more bits. Factorial? >> >> We're talking about C where operations and their results usually have the >> same predefined width. > > Irrelevant. The concept either works or does not. In this case it does > not. That's fine. But in that case, every calculator or computer ever made is useless, because you can always think up some calculation just beyond it's capacity. -- Bartc