Пример #1
0
        /* swap FPs depending on d */
        public void CSwap(FP b, int d)
        {
            x.CSwap(b.x, d);
            int t, c = d;

            c      = ~(c - 1);
            t      = c & (XES ^ b.XES);
            XES   ^= t;
            b.XES ^= t;
        }