oracle里面对数字的位与或运算

与运算:
bitand(x, y)
或运算:
BITOR(x,y) = (x + y) - BITAND(x, y);
异或运算:
BITXOR(x,y) = BITOR(x,y) - BITAND(x,y) = (x + y) - BITAND(x, y) * 2;


 

posted on 2008-01-21 11:40  baoli  阅读(2045)  评论(0编辑  收藏  举报

导航