Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ isZero
Function
isZero
lib/calculate.h:44–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
43
template<class T>
44
bool isZero(T x)
45
{
46
return isEqual(x, T(0));
47
}
48
49
/**
50
* @throws InternalError thrown in case of unknown operator
Callers
1
calculate
Function · 0.85
Calls
2
isEqual
Function · 0.85
T
Class · 0.85
Tested by
no test coverage detected