#include "breeze/mathematics/representation_in_base.hpp" template <typename T> std::string representation_in_base(T n, int base)
- base >= 2 && base <= 36
- The representation, in base
base, of the integer
n. A negative value is represented as the character '-' (minus) immediately followed by the representation of its absolute value (in the mathematical sense:
theminimum value of
Tis handled correctly, even on a two's complement implementation).