MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / TwosComplement

Function TwosComplement

extra/yassl/taocrypt/src/integer.cpp:504–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504static void TwosComplement(word *A, unsigned int N)
505{
506 Decrement(A, N);
507 for (unsigned i=0; i<N; i++)
508 A[i] = ~A[i];
509}
510
511
512static word LinearMultiply(word *C, const word *A, word B, unsigned int N)

Callers 1

Calls 1

DecrementFunction · 0.85

Tested by

no test coverage detected