public static int Compare(double x, mpz_t y) { return -y.CompareTo(x); }
public static int Compare(mpz_t x, double y) { return x.CompareTo(y); }
public static int Compare(ulong x, mpz_t y) { return -y.CompareTo(x); }
public static int Compare(mpz_t x, ulong y) { return x.CompareTo(y); }
public static int Compare(object x, mpz_t y) { return -y.CompareTo(x); }
//public int CompareAbsTo(decimal other) //{ // return mpir.mpz_cmpabs_d(this, (double)other); //} public static int Compare(mpz_t x, object y) { return x.CompareTo(y); }