ITeye博客

bitwise opertation

lizhou · 2014-11-06 14:54 · and or xor not · 编程语言 · Markdown

usage example

1 even or odd judge

even & 0x01 = 1

odd & 0x01 = 0

 

2 yes or no store

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。