Article View: comp.lang.c++
Article #811Re: does an expression in a logical statement need parenthesis for proper evaluation?
From: Fred. Zwarts
Date: Tue, 10 Nov 2026 08:58
Date: Tue, 10 Nov 2026 08:58
13 lines
1632 bytes
1632 bytes
Op 09.nov.2026 om 10:03 schreef Bonita Montero:
> Am 06.11.2026 um 00:42 schrieb Lynn McGuire:
>
>> if (j1 * i1 < 1) {
>> goto L463;
>> }
>> ...
>> if ((j1 * i1) < 1) {
>> goto L463;
>> }
> The latter one leads to more optimized code !
Really? Why?
Technical Details
Message-ID:
<11cumba$1ppuo$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cj4a0$23796$1@dont-email.me> <11cs28o$1395m$1@raubtier-asyl.eternal-september.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: "Fred. Zwarts" <F.Zwarts@HetNet.nl> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: does an expression in a logical statement need parenthesis for proper evaluation? Date: Tue, 10 Nov 2026 09:58:18 +0100 Organization: A noiseless patient Spider Lines: 13 Message-ID: <11cumba$1ppuo$1@dont-email.me> References: <11cj4a0$23796$1@dont-email.me> <11cs28o$1395m$1@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 10 Nov 2026 08:58:19 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1894360"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185+6LE+/dgghsrelQDozw1"; posting-host="445cf71487afd7ca48593d073428c067" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Phvl1Ql3wT2hQzBQvvKBICiUQpA= sha256:CVVEX8SRvGvsBu+xkPGGENOBK4X+oxlOkqbF7j61HB8= sha1:2m7QX7zLaIChmd0vnsNv9zzpeio= sha256:Yrb7vauMTVzO2KjxgXgHeVqT8ccPigXTOyHtM0MXMVE= Content-Language: nl In-Reply-To: <11cs28o$1395m$1@raubtier-asyl.eternal-september.org>