How to convert from UInt to binary
I don'h know hot to convert from UInt to binary
Example:
15 (UInt) = 1111 (binary)
Help me please
ttmath::UInt<2> a = 15;
// by using std::string
std::string abin;
a.ToString(abin, 2);
std::cout << abin << std::endl;
// or just simply
std::cout << a.ToString(2) << std::endl;
How to compute inverse