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

Method SubOne

Int.cpp:380–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380void Int::SubOne() {
381
382 unsigned char c = 0;
383 c = _subborrow_u64(c, bits64[0], 1, bits64 + 0);
384 c = _subborrow_u64(c, bits64[1], 0, bits64 + 1);
385 c = _subborrow_u64(c, bits64[2], 0, bits64 + 2);
386 c = _subborrow_u64(c, bits64[3], 0, bits64 + 3);
387 c = _subborrow_u64(c, bits64[4], 0, bits64 + 4);
388#if NB64BLOCK > 5
389 c = _subborrow_u64(c, bits64[5], 0, bits64 + 5);
390 c = _subborrow_u64(c, bits64[6], 0, bits64 + 6);
391 c = _subborrow_u64(c, bits64[7], 0, bits64 + 7);
392 c = _subborrow_u64(c, bits64[8], 0, bits64 + 8);
393#endif
394
395}
396
397// ------------------------------------------------
398

Callers 3

IsProbablePrimeMethod · 0.80
HasSqrtMethod · 0.80
ModSqrtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected