MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / ShiftL32BitAndSub

Method ShiftL32BitAndSub

Int.cpp:473–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471// ------------------------------------------------
472
473void Int::ShiftL32BitAndSub(Int *a,int n) {
474
475 Int b;
476 int i=NB32BLOCK-1;
477
478 for(;i>=n;i--)
479 b.bits[i] = ~a->bits[i-n];
480 for(;i>=0;i--)
481 b.bits[i] = 0xFFFFFFFF;
482
483 Add(&b);
484 AddOne();
485
486}
487
488// ------------------------------------------------
489

Callers 1

DivMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected