摘要: 我在网上看到了一点神奇的代码,用来计算一个数字末尾连续零的个数。 刚好我在优化一个I2C读写函数(只写入I2C特定bit),觉得这个很有用。经过尝试,确实没问题。 下面我隆重介绍一下: Count the consecutive zero bits (trailing) on the right w 阅读全文
posted @ 2017-09-30 17:45 HelloAtom 阅读(321) 评论(0) 推荐(0) 编辑