2 #include "../src/number.h"
7 unsigned buf[5] = { 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0 };
8 //unsigned buf[3] = { 0xffffffff, 0x1, 0 };
10 //number< unsigned > nu2(nu);
12 std::cout << "nu = " << nu << "\n\n";
13 std::cout << "nu2 = " << nu2 << "\n\n";
14 std::cout << "nu + nu2 = " << nu + nu2 << "\n\n";
15 std::cout << "nu * nu2 = " << nu * nu2 << "\n\n";
19 number< unsigned > nu = 0xffffffff;
20 std::cout << "nu = " << nu << "\n\n";
23 std::cout << "nu = " << nu << "\n\n";
26 number<> n1 = 0xffff00f0;
\r
27 number<> n2 = 0xffff00f0;
\r
35 std::cout << "n1 es menor que n2\n";
\r
37 std::cout << "n1 es mayor que n2\n";
\r
39 std::cout << "n1 es igual que n2\n";
\r
41 number<> n3 = n1 - n2;