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