Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/albertobsd/keyhunt
/ IsNegative
Method
IsNegative
gmp256k1/Int.cpp:185–189 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
183
}
184
185
bool Int::IsNegative() {
186
if(mpz_cmp_ui(num,0) < 0)
187
return true;
188
return false;
189
}
190
191
bool Int::IsEven() {
192
if(mpz_tstbit(num,0) == 0)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected