#include "general.hpp" void stop() { while (true) {} } unique_ptr floatToStr(float num, unsigned int width, unsigned int precision) { auto str = make_unique(width + precision); dtostrf(num, width, precision, str->c_str); return str; }