Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ TwosComplement
Function
TwosComplement
src/cryptopp/integer.cpp:119–124 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
117
}
118
119
static void TwosComplement(word *A, size_t N)
120
{
121
Decrement(A, N);
122
for (unsigned i=0; i<N; i++)
123
A[i] = ~A[i];
124
}
125
126
static word AtomicInverseModPower2(word A)
127
{
Callers
1
integer.cpp
File · 0.85
Calls
1
Decrement
Function · 0.85
Tested by
no test coverage detected