Пример #1
0
        static OrderedNumeric()
        {
            OrderedNumeric <short> .InitializeArithmetic(default(Arithmetics.Int16));

            OrderedNumeric <int> .InitializeArithmetic(default(Arithmetics.Int32));

            OrderedNumeric <long> .InitializeArithmetic(default(Arithmetics.Int64));

            OrderedNumeric <ushort> .InitializeArithmetic(default(Arithmetics.UInt16));

            OrderedNumeric <uint> .InitializeArithmetic(default(Arithmetics.UInt32));

            OrderedNumeric <ulong> .InitializeArithmetic(default(Arithmetics.UInt64));

            OrderedNumeric <float> .InitializeArithmetic(default(Arithmetics.Single));

            OrderedNumeric <double> .InitializeArithmetic(default(Arithmetics.Double));

            OrderedNumeric <decimal> .InitializeArithmetic(default(Arithmetics.Decimal));
        }