MCPcopy 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
119static 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
126static word AtomicInverseModPower2(word A)
127{

Callers 1

integer.cppFile · 0.85

Calls 1

DecrementFunction · 0.85

Tested by

no test coverage detected