+ 4

(num>>(p+1-n))&~(~0 <<n) AND (num&(~(~0 <<n)<<p-n+1))>>p-n+1

are both statement same or different? ??

17th May 2020, 5:14 AM
Ashutosh k.
Ashutosh k. - avatar
1 Odpowiedź
+ 2
They look pretty much the same to me.
23rd May 2020, 3:50 AM
Kevin ★