MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / reportScalar

Function reportScalar

quest/src/api/types.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 */
38
39void reportScalar(string label, string numstr) {
40 validate_envIsInit(__func__);
41
42 // harmlessly re-validates
43 reportStr(label + (label.empty()? "" : ": ") + numstr);
44}
45
46void reportScalar(string label, qcomp num) { reportScalar(label, printer_toStr(num)); }
47void reportScalar(string label, qreal num) { reportScalar(label, printer_toStr(num)); }

Callers 8

SECTIONFunction · 0.85
_reportScalar_realFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 3

validate_envIsInitFunction · 0.85
reportStrFunction · 0.85
printer_toStrFunction · 0.50

Tested by

no test coverage detected