private static void Test04c() { BigNumberConverter conv = new BigNumberConverter(); conv.Number = new BigNumber("256"); Console.Write("{0}: ", conv.Number); conv.ConvertBinary(); Console.WriteLine(conv.Result); conv.Number = new BigNumber("4096"); Console.Write("{0}: ", conv.Number); conv.ConvertBinary(); Console.WriteLine(conv.Result); conv.Number = new BigNumber("2475880078570760549798248448"); Console.Write("{0}: ", conv.Number); conv.ConvertBinary(); Console.WriteLine(conv.Result); }
private static void Test03d() { BigNumberConverter conv = new BigNumberConverter(); conv.Number = new BigNumber("1111111111111111111");; conv.ConvertHexadecimal(); Console.WriteLine(conv.Result); conv.ConvertBinary(); Console.WriteLine(conv.Result); }