skip to main
|
skip to sidebar
xwu's blog
Wednesday, June 23, 2010
C bitwise operator
~x + 1 = -x;
e.g. ~(-1) +1 = -(-1); that is ~(-1) = 0;
e.g. ~27 +1 = -27; that is ~27 = -28;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
▼
2010
(9)
►
July
(1)
▼
June
(4)
C bitwise operator
iofmain
bitwise operator
about C data type and bitwise operator
►
May
(4)
About Me
xwu
View my complete profile
No comments:
Post a Comment