Article View: comp.lang.c++
Article #972Re: does an expression in a logical statement need parenthesis for proper evaluation?
From: Tristan Wibberley
Date: Sat, 21 Nov 2026 12:48
Date: Sat, 21 Nov 2026 12:48
32 lines
3320 bytes
3320 bytes
On 15/11/2026 12:09, David Brown wrote: > As I said, there is no benefit in using bitwise operators when logical > operators are appropriate. Thank you for reasserting your authority. It is worthless in the effort to stop me from recounting accurate truths based around the fact that, extensionally, bitwise operators are SIMD logical operators in which '&' consequently has a special utility in dimension reduction (selecting one of the multiple data using a mask, for instance) and in which '!' serves as negation with dimension reduction in the special case that only bit 0 is needed (SISD). Also that the "logical operators" are actually conditional sequencing operators being merely logical in special cases because of their conditional aspect, and that each has side-effect benefits as I described making even bitwise operators a better choice for logic sometimes. You probably got used to the conditional sequencing operators because you're so used to doing things with side-effects and the people who kept the SIMD logic in mind stopped interacting here. -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Technical Details
Message-ID:
<11ds3uf$287k$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.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> <11cj8ch$24f93$1@dont-email.me> <11cj9he$24mi0$1@dont-email.me> <11d54u2$863c$1@dont-email.me> <11d5eg2$bfhu$1@dont-email.me> <11d6if2$lqnd$1@dont-email.me> <11d7a99$th7r$1@dont-email.me> <11d7f1t$1839o$1@dont-email.me> <11d82gp$1f70n$1@dont-email.me> <11dc7da$2nu91$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: does an expression in a logical statement need parenthesis for proper evaluation? Date: Sat, 21 Nov 2026 12:48:15 +0000 Organization: A noiseless patient Spider Lines: 32 Message-ID: <11ds3uf$287k$1@dont-email.me> References: <11cj4a0$23796$1@dont-email.me> <11cj8ch$24f93$1@dont-email.me> <11cj9he$24mi0$1@dont-email.me> <11d54u2$863c$1@dont-email.me> <11d5eg2$bfhu$1@dont-email.me> <11d6if2$lqnd$1@dont-email.me> <11d7a99$th7r$1@dont-email.me> <11d7f1t$1839o$1@dont-email.me> <11d82gp$1f70n$1@dont-email.me> <11dc7da$2nu91$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Nov 2026 12:48:16 +0000 (UTC) Injection-Info: dont-email.me; logging-data="73972"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18n3DfizDO7H/F3bH2f3bBIdE/U6pF4ddkmXm6N0ldE9g=="; posting-host="e4613851a1efc9f6502b43c5825d3928" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:DXZAL+gswX+IHlTL53kpQdgxlGA= sha256:qMJx7F/NDfPDwDTdfEei1I4i0ObfKYKhpoH49SIE82c= sha1:VVP2zycTkaRNL/4TXiKmMhJ5SB0= sha256:4s3K06/RZRafpFS9f78sWtui7RlM4JrLYN3veR0GemU= Content-Language: en-GB In-Reply-To: <11dc7da$2nu91$1@dont-email.me>