Sujet : Re: lun - Lucky Number
De : 333200007110-0201 (at) *nospam* ybtra.de (Marcel Logen)
Groupes : sci.cryptDate : 16. Mar 2025, 23:21:50
Autres entêtes
Organisation : Bureau Logen 🥨
Message-ID : <AABn107+qIsAABX6.A3.flnews@o15.ybtra.de>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : flnews/1.3.0pre28 (for GNU/Linux)
Richard Heathfield in sci.crypt:
On 16/03/2025 14:57, Marcel Logen wrote:
Richard Heathfield in sci.crypt:
#define BIT_QRY(x,i) (((x)[(i)>>3] & (1<<((i)&7)))!=0)
>
This is actually another C question:
>
Why does it have to be "(x)" and "(i)" everywhere instead of
"x" and "i"? What kind of "protection" is meant here?
[...]
If in doubt, steer well clear of side effects in macros.
Ah, OK, all this refers to macros.
I had initially assumed that it was generally about paren-
theses around variable names.
Marcel