Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tripwire/tripwire-open-source
/ IsSquare
Method
IsSquare
src/cryptlib/integer.cpp:2076–2080 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2074
}
2075
2076
bool Integer::IsSquare() const
2077
{
2078
Integer r = SquareRoot();
2079
return *this == r.Squared();
2080
}
2081
2082
bool Integer::IsUnit() const
2083
{
Callers
2
IsLucasProbablePrime
Function · 0.80
IsStrongLucasProbablePrime
Function · 0.80
Calls
1
Squared
Method · 0.80
Tested by
no test coverage detected