示例#1
0
        private static void Main()
        {
            // твои бро: Console.WriteLine и Console.ReadLine

            FloatNumbers.Compare(0.5, 0.5);
            Console.WriteLine(Integers.HalfIntMaxValue());
            int a;

            a = Console.Read();
        }
示例#2
0
        private static void Main()
        {
            // твои бро: Console.WriteLine и Console.ReadLine
            Console.WriteLine(Integers.HalfIntMaxValue());
            Console.WriteLine(Integers.CubeWithoutOverflowCheck(Integers.HalfIntMaxValue()));
            Console.WriteLine(Integers.ToString(8087));
            Console.WriteLine(Integers.Parse("80907"));
            Console.WriteLine(Integers.TenTimes(876));
            Console.WriteLine(Integers.ToHexString(255));
            Console.WriteLine(FloatNumbers.GetNaN());
            Console.WriteLine(2.1 / 2.3);
            Console.WriteLine(FloatNumbers.Compare(2.1 / 2.3, 4.2 / (2.3 * 2.0))); // выдает 0

            Console.WriteLine("Hello World!");
        }