Пример #1
0
        /* this*=this mod Modulus */
        public void Sqr()
        {
            DBIG d;

            if ((long)XES * XES > (long)FEXCESS)
            {
                Reduce();
            }

            d = BIG.Sqr(x);
            x.Copy(Mod(d));
            XES = 2;
        }