Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
64
def
add(a, b):
65
while
a:
66
c = b & a
67
b ^= a
68
c <<= 1
69
a = c
70
return
b
71
72
73
def
get_sign(x):
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected