Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ util_isStrictlyInteger
Function
util_isStrictlyInteger
quest/src/core/utilities.cpp:318–321 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
316
*/
317
318
bool util_isStrictlyInteger(qreal num) {
319
320
return std::trunc(num) == num;
321
}
322
323
bool util_isApproxReal(qcomp num, qreal eps) {
324
Callers
1
assertMatrExpIsHermitian
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected