public static XInt Factorial(Int32 x) { var z = new XInt(); mpz_fac_ui(ref z.impl, (UInt32)x); return z; }