lua封装的位运算

1.移位运算基础spa --与 同为1,则为1 --或 有一个为1,则为1 --非 true为 false,其他为true --异或 相同为0,不一样为1 --ZZMathBit = {} function ZZMathBit.__andBit(left,right) --与 return (left == 1 and right == 1) and 1
相关文章
相关标签/搜索