Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ getAbsDif
Function
getAbsDif
tests/utils/compare.cpp:59–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
58
59
qreal getAbsDif(qcomp a, qcomp b) {
60
61
return std::abs(a - b);
62
}
63
64
qreal getRelDif(qcomp a, qcomp b) {
65
Callers
5
getRelDif
Function · 0.85
doScalarsAgree
Function · 0.85
REPORT_AMP_AND_FAIL
Function · 0.85
REPORT_SCALAR_AND_FAIL
Function · 0.85
REPORT_ELEM_AND_FAIL
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected