Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/albertobsd/keyhunt
/ IsOne
Method
IsOne
gmp256k1/Int.cpp:173–177 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
171
}
172
173
bool Int::IsOne() {
174
if(mpz_cmp_ui(num,1) == 0)
175
return true;
176
return false;
177
}
178
179
bool Int::IsPositive() {
180
if(mpz_cmp_ui(num,0) >= 0)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected