Debian Codegraph @

llvm/test/tools/llvm-cov/Inputs/multithreaded_report/words.cc

raw
1 #include "abs.h"
2 #include "bytes.h"
3 #include "pow.h"
4
5 bool loopWords() {
6 uint64_t totalInt = 0;
7 double totalFloat = 0;
8 for (uint16_t i = 1; i != 0; ++i) {
9 double a = logarithm(i);
10 a = abs(a);
11 totalInt += abs(pow(i, static_cast<uint16_t>(a)));
12 totalFloat += pow(static_cast<decltype(a)>(i), a);
13 }
14 return totalInt > totalFloat;
15 }