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

Method IsEqual

Int.cpp:226–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bool Int::IsEqual(Int *a) {
227
228return
229
230#if NB64BLOCK > 5
231 (bits64[8] == a->bits64[8]) &&
232 (bits64[7] == a->bits64[7]) &&
233 (bits64[6] == a->bits64[6]) &&
234 (bits64[5] == a->bits64[5]) &&
235#endif
236 (bits64[4] == a->bits64[4]) &&
237 (bits64[3] == a->bits64[3]) &&
238 (bits64[2] == a->bits64[2]) &&
239 (bits64[1] == a->bits64[1]) &&
240 (bits64[0] == a->bits64[0]);
241
242}
243
244bool Int::IsOne() {
245 return IsEqual(&_ONE);

Callers 3

IsProbablePrimeMethod · 0.80
CheckMethod · 0.80
equalsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected