Sujet : Re: lun - Lucky Number
De : rjh (at) *nospam* cpax.org.uk (Richard Heathfield)
Groupes : sci.cryptDate : 17. Mar 2025, 08:03:09
Autres entêtes
Organisation : Fix this later
Message-ID : <vr8hfd$3imsq$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Mozilla Thunderbird
On 16/03/2025 22:21, Marcel Logen wrote:
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.
No, I think that'th Lithp.
-- Richard HeathfieldEmail: rjh at cpax dot org dot uk"Usenet is a strange place" - dmr 29 July 1999Sig line 4 vacant - apply within