From: eramos Date: Mon, 13 Apr 2020 01:35:59 +0000 (+0200) Subject: Changes to migrate to 32 bit arch (armv7l) X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=cc05f3d8a5100af6415f9520813e3326f7ffd69f;p=anna.git Changes to migrate to 32 bit arch (armv7l) --- diff --git a/include/anna/core/functions.hpp b/include/anna/core/functions.hpp index 3c37227..382a625 100644 --- a/include/anna/core/functions.hpp +++ b/include/anna/core/functions.hpp @@ -103,22 +103,6 @@ struct functions { */ static std::string asString(const unsigned int number) throw(); - /** - \param number Numero a convertir. - @return Un literal con el numero sin signo convertido a cadena decimal. - */ - static std::string asString(const unsigned long long int number) throw() { - return asString((U64)number); - } - - /** - \param number Numero a convertir. - @return Un literal con el numero sin signo convertido a cadena decimal. - */ - static std::string asString(const long long int number) throw() { - return asString((S64)number); - } - /** Devuelve un literal con tel numero convertido a cadena decimal @return Un literal con el numero signo convertido a cadena decimal. diff --git a/source/core/functions.cpp b/source/core/functions.cpp index 567fb71..613a021 100644 --- a/source/core/functions.cpp +++ b/source/core/functions.cpp @@ -384,7 +384,7 @@ throw(RuntimeException) { */ int functions::log2(const unsigned int v) throw() { - static const char LogTable256[] = { + static const signed char LogTable256[] = { -1, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,