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

Method IsZero

Int.cpp:248–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248bool Int::IsZero() {
249
250#if NB64BLOCK > 5
251 return (bits64[8] | bits64[7] | bits64[6] | bits64[5] | bits64[4] | bits64[3] | bits64[2] | bits64[1] | bits64[0]) == 0;
252#else
253 return (bits64[4] | bits64[3] | bits64[2] | bits64[1] | bits64[0]) == 0;
254#endif
255
256}
257
258
259// ------------------------------------------------

Callers 6

DivMethod · 0.80
GCDMethod · 0.80
CheckMethod · 0.80
isZeroMethod · 0.80
ECMethod · 0.80
ModInvMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected