HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by FrozenVoid | Hacker News Reader
Parent
Full thread
FrozenVoid
·
#define CLEARBIT(a,p) = ((a) &= ~((typeof(a))1 << (p)))
View on HN
raxxorraxor
·
That is clearly better provided the compiler supports it. Less portable but it should really be a part of ISO C in my opinion.
Reply on news.ycombinator.com