Exemple #1
0
 private static extern void mpz_init_set_ui(ref MpzT rop, UInt32 v);
 private static extern void mpz_mod(ref MpzT rop, ref MpzT x, ref MpzT mod);
 private static extern Int32 mpz_mul_2exp(ref MpzT rop, ref MpzT x, UInt32 shift);
 private static extern IntPtr mpz_get_str(IntPtr outString, Int32 _base, ref MpzT src);
 private static extern Int32 mpz_cmp_si(ref MpzT x, Int32 y);
 private static extern void mpz_add(ref MpzT dest, ref MpzT src, ref MpzT src2);
 private static extern void mpz_set_si(ref MpzT src, Int32 value);
Exemple #8
0
 private static extern void mpz_add_ui(ref MpzT dest, ref MpzT src, UInt32 val);
Exemple #9
0
 private static extern void mpz_tdiv_q(ref MpzT dest, ref MpzT src, ref MpzT src2);
Exemple #10
0
 private static extern void mpz_mul(ref MpzT dest, ref MpzT x, ref MpzT y);
Exemple #11
0
 private static extern void mpz_add(ref MpzT dest, ref MpzT src, ref MpzT src2);
Exemple #12
0
 private static extern void mpz_mul_si(ref MpzT dest, ref MpzT src, Int32 val);
Exemple #13
0
 private static extern void mpz_clear(ref MpzT src);
Exemple #14
0
 private static extern Int32 mpz_init_set_str(ref MpzT rop, IntPtr s, Int32 basis);
 private static extern Int32 mpz_init_set_str(ref MpzT rop, IntPtr s, Int32 basis);
Exemple #16
0
 private static extern void mpz_set(ref MpzT dest, ref MpzT src);
 private static extern void mpz_mul_si(ref MpzT dest, ref MpzT src, Int32 val);
Exemple #18
0
 private static extern void mpz_set_si(ref MpzT src, Int32 value);
 private static extern void mpz_tdiv_q(ref MpzT dest, ref MpzT src, ref MpzT src2);
Exemple #20
0
 private static extern Int32 mpz_set_str(ref MpzT rop, IntPtr s, Int32 sbase);
 private static extern Int32 mpz_get_si(ref MpzT src);
Exemple #22
0
 private static extern Int32 mpz_get_si(ref MpzT src);
 private static extern Int32 mpz_cmp(ref MpzT x, ref MpzT y);
Exemple #24
0
 private static extern double mpz_get_d(ref MpzT src);
 private static extern void mpz_sqrt(ref MpzT rop, ref MpzT op);
Exemple #26
0
 private static extern IntPtr mpz_get_str(IntPtr outString, Int32 _base, ref MpzT src);
 private static extern void mpz_ui_pow_ui(ref MpzT rop, UInt32 bas, UInt32 exp);
Exemple #28
0
 internal static extern Int32 mpz_sizeinbase(ref MpzT src, Int32 _base);
 private static extern void _PrimeSwingParallelFactorial(ref MpzT fact, ulong n);
Exemple #30
0
 private static extern Int32 mpz_cmp(ref MpzT x, ref MpzT y);
 private static extern void mpz_init_set_ui(ref MpzT rop, UInt32 v);
Exemple #32
0
 private static extern Int32 mpz_cmp_d(ref MpzT x, double y);
 private static extern void mpz_clear(ref MpzT src);
Exemple #34
0
 private static extern Int32 mpz_cmp_si(ref MpzT x, Int32 y);
 private static extern void mpz_mul(ref MpzT dest, ref MpzT x, ref MpzT y);
Exemple #36
0
 private static extern void mpz_sub(ref MpzT rop, ref MpzT x, ref MpzT y);
 private static extern void mpz_add_ui(ref MpzT dest, ref MpzT src, UInt32 val);
Exemple #38
0
 private static extern void mpz_sqrt(ref MpzT rop, ref MpzT op);
 private static extern void mpz_set(ref MpzT dest, ref MpzT src);
Exemple #40
0
 private static extern void mpz_powm(ref MpzT rop, ref MpzT bas, ref MpzT exp, ref MpzT mod);
 private static extern Int32 mpz_set_str(ref MpzT rop, IntPtr s, Int32 sbase);
Exemple #42
0
 private static extern void mpz_mod(ref MpzT rop, ref MpzT x, ref MpzT mod);
 private static extern double mpz_get_d(ref MpzT src);
Exemple #44
0
 private static extern void mpz_gcd(ref MpzT rop, ref MpzT op1, ref MpzT op2);
 internal static extern Int32 mpz_sizeinbase(ref MpzT src, Int32 _base);
Exemple #46
0
 private static extern void mpz_ui_pow_ui(ref MpzT rop, UInt32 bas, UInt32 exp);
 private static extern Int32 mpz_cmp_d(ref MpzT x, double y);
Exemple #48
0
 private static extern Int32 mpz_invert(ref MpzT rop, ref MpzT x, ref MpzT y);
 private static extern void mpz_sub(ref MpzT rop, ref MpzT x, ref MpzT y);
Exemple #50
0
 private static extern Int32 mpz_mul_2exp(ref MpzT rop, ref MpzT x, UInt32 shift);
 private static extern void mpz_powm(ref MpzT rop, ref MpzT bas, ref MpzT exp, ref MpzT mod);
Exemple #52
0
 private static extern void mpz_fac_ui(ref MpzT rop, UInt32 op);
 private static extern void mpz_gcd(ref MpzT rop, ref MpzT op1, ref MpzT op2);
Exemple #54
0
 private static extern void _PrimeSwingParallelFactorial(ref MpzT fact, ulong n);
 private static extern Int32 mpz_invert(ref MpzT rop, ref MpzT x, ref MpzT y);
Exemple #56
0
 private static extern void _SchoenhageParallelFactorial(ref MpzT fact, ulong n);
 private static extern void mpz_fac_ui(ref MpzT rop, UInt32 op);
 private static extern void mpz_init_set_si(ref MpzT value, Int32 v);
 private static extern void _SchoenhageParallelFactorial(ref MpzT fact, ulong n);
Exemple #60
0
 private static extern void mpz_init_set_si(ref MpzT value, Int32 v);