Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/c3d/tao3D
/ TwosComplement
Function
TwosComplement
libcryptopp/cryptopp/integer.cpp:82–87 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
}
81
82
static void TwosComplement(word *A, size_t N)
83
{
84
Decrement(A, N);
85
for (unsigned i=0; i<N; i++)
86
A[i] = ~A[i];
87
}
88
89
static word AtomicInverseModPower2(word A)
90
{
Callers
2
RecursiveInverseModPower2
Function · 0.85
Decode
Method · 0.85
Calls
1
Decrement
Function · 0.85
Tested by
no test coverage detected