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

Method IsGreater

Int.cpp:158–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156// ------------------------------------------------
157
158bool Int::IsGreater(Int *a) {
159
160 int i;
161
162 for(i=NB64BLOCK-1;i>=0;) {
163 if( a->bits64[i]!= bits64[i] )
164 break;
165 i--;
166 }
167
168 if(i>=0) {
169 return bits64[i]>a->bits64[i];
170 } else {
171 return false;
172 }
173
174}
175
176// ------------------------------------------------
177

Callers 2

DivMethod · 0.80
ModInvMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected