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

Method AddOne

Int.cpp:120–135  ·  view source on GitHub ↗

------------------------------------------------

Source from the content-addressed store, hash-verified

118
119// ------------------------------------------------
120void Int::AddOne() {
121
122 unsigned char c = 0;
123 c = _addcarry_u64(c, bits64[0],1, bits64 +0);
124 c = _addcarry_u64(c, bits64[1],0, bits64 +1);
125 c = _addcarry_u64(c, bits64[2],0, bits64 +2);
126 c = _addcarry_u64(c, bits64[3],0, bits64 +3);
127 c = _addcarry_u64(c, bits64[4],0, bits64 +4);
128#if NB64BLOCK > 5
129 c = _addcarry_u64(c, bits64[5],0, bits64 +5);
130 c = _addcarry_u64(c, bits64[6],0, bits64 +6);
131 c = _addcarry_u64(c, bits64[7],0, bits64 +7);
132 c = _addcarry_u64(c, bits64[8],0, bits64 +8);
133#endif
134
135}
136
137// ------------------------------------------------
138

Callers 2

CheckMethod · 0.80
ModSqrtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected