Data lab(two complements arithmetic)
Data lab(two complements arithmetic)1.bitAndThis is a simple function, we learnt about this in discrete math in the last term. /* * bitAnd - x&y using only ~ and | * Example: bitAnd(6, 5) = 4 *
原创
2017-09-11 22:20:58 ·
577 阅读 ·
0 评论