Пример #1
0
        //***************** Static Bitwise Functions *****************

        /// <summary>
        /// Bitwise And
        /// </summary>
        /// <param name="n1"></param>
        /// <param name="n2"></param>
        /// <returns></returns>
        public static BigInt And(BigInt n1, BigInt n2)
        {
            if (n1.digitArray.Length != n2.digitArray.Length) MakeSafe(ref n1, ref n2);
            BigInt res = new BigInt(n1);
            res.And(n2);
            return res;
        }