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

Method IsPositive

gmp256k1/Int.cpp:179–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179bool Int::IsPositive() {
180 if(mpz_cmp_ui(num,0) >= 0)
181 return true;
182 return false;
183}
184
185bool Int::IsNegative() {
186 if(mpz_cmp_ui(num,0) < 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected