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