MCPcopy 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
318bool util_isStrictlyInteger(qreal num) {
319
320 return std::trunc(num) == num;
321}
322
323bool util_isApproxReal(qcomp num, qreal eps) {
324

Callers 1

assertMatrExpIsHermitianFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected