Going to the github page and seeing that in some kind of pdf file written on the kde docs website, I was still confused. Suppose that in the test code these two lines:
double a1 {asinh(1 / ep)};
double b1 {log((1 + sqrt(1 + ep*ep)) / ep)};
where epis some value that can be predetermined. My comments are made in Codeblocks by launching a debugger with a disassembler, then patiently pressing the "next instruction" and counting. They correspond to what Kachachegrind says, if I installed it to show “Command order”. I suppose this should make sense (I'm new to C ++, by the way). But if I switch to "Cycle Evaluation," I get very strange readings. In the current example, this 115, and 122, but other seemingly similar expressions, such as:
double Ap {1.0};
double ep {0.9};
show 222and 2(instr. fetch shows 2for both)! What's going on here? Can someone explain?
source
share