MCPcopy 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
82static 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
89static word AtomicInverseModPower2(word A)
90{

Callers 2

DecodeMethod · 0.85

Calls 1

DecrementFunction · 0.85

Tested by

no test coverage detected