shuprog1's blog

By shuprog1, 10 years ago, In English

What is the meaning of these two macros? ~~~~~

define ifc(x) (flag[x>>6]&(1<<((x>>1)&31)))

define isc(x) (flag[x>>6]|=(1<<((x>>1)&31)))

~~~~~

  • Vote: I like it
  • -21
  • Vote: I do not like it

»
10 years ago, # |
Rev. 2   Vote: I like it -13 Vote: I do not like it

1< 2 ^x
x<<1 -> 2*x
x>>1 -> x/2
x&1 -> x%2
x>>3 -> x/8 (8->2^3)