Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tripwire/tripwire-open-source
/ Negate
Method
Negate
src/cryptlib/integer.cpp:2027–2031 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2025
}
2026
2027
void Integer::Negate()
2028
{
2029
if (!!(*this)) // don't flip sign if *this==0
2030
sign = Sign(1-sign);
2031
}
2032
2033
int Integer::PositiveCompare(const Integer& t) const
2034
{
Callers
4
operator-
Method · 0.80
integer.cpp
File · 0.80
Multiply
Function · 0.80
Divide
Method · 0.80
Calls
1
Sign
Enum · 0.85
Tested by
no test coverage detected