Added by: ~guest, 2011 X 08
Added by: ~guest, 2011 X 08
I don'h know hot to convert from UInt to binary
Example:
15 (UInt) = 1111 (binary)
Help me please
Added by: tomek, 2011 X 08
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;
Added by: ~Anagreh, 2011 X 09
How to compute inverse