MCPcopy
hub / github.com/jwasham/practice-python / add

Function add

bit_manipulation/bits.py:64–70  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

62
63
64def add(a, b):
65 while a:
66 c = b & a
67 b ^= a
68 c <<= 1
69 a = c
70 return b
71
72
73def get_sign(x):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected