MCPcopy Create free account
hub / github.com/albertobsd/keyhunt / ModSqrt

Method ModSqrt

gmp256k1/IntMod.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void Int::ModSqrt() {
109 mpz_sqrt(num,num);
110 mpz_mod(num,num,_P.num);
111}
112
113bool Int::HasSqrt() {
114 if(mpz_perfect_square_p(num) != 0)

Callers 3

keyhunt_legacy.cppFile · 0.45
mainFunction · 0.45
keyhunt.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected