mplisp

miniPicoLisp with FFI and modules for Buddy BDD library, OpenGL, Gtk and GMP
git clone https://logand.com/git/mplisp.git/
Log | Files | Refs

gmp.ffi.fn (4466B)


      1    {cfun_mpz_init, "mpz_init"},
      2    {cfun_mpz_init2, "mpz_init2"},
      3    {cfun_mpz_clear, "mpz_clear"},
      4    {cfun_mpz_realloc2, "mpz_realloc2"},
      5    {cfun_mpz_set, "mpz_set"},
      6    {cfun_mpz_set_ui, "mpz_set_ui"},
      7    {cfun_mpz_set_si, "mpz_set_si"},
      8    {cfun_mpz_swap, "mpz_swap"},
      9    {cfun_mpz_init_set, "mpz_init_set"},
     10    {cfun_mpz_init_set_ui, "mpz_init_set_ui"},
     11    {cfun_mpz_init_set_si, "mpz_init_set_si"},
     12    {cfun_mpz_get_ui, "mpz_get_ui"},
     13    {cfun_mpz_get_si, "mpz_get_si"},
     14    {cfun_mpz_add, "mpz_add"},
     15    {cfun_mpz_add_ui, "mpz_add_ui"},
     16    {cfun_mpz_sub, "mpz_sub"},
     17    {cfun_mpz_sub_ui, "mpz_sub_ui"},
     18    {cfun_mpz_ui_sub, "mpz_ui_sub"},
     19    {cfun_mpz_mul, "mpz_mul"},
     20    {cfun_mpz_mul_si, "mpz_mul_si"},
     21    {cfun_mpz_mul_ui, "mpz_mul_ui"},
     22    {cfun_mpz_addmul, "mpz_addmul"},
     23    {cfun_mpz_addmul_ui, "mpz_addmul_ui"},
     24    {cfun_mpz_submul, "mpz_submul"},
     25    {cfun_mpz_submul_ui, "mpz_submul_ui"},
     26    {cfun_mpz_mul_2exp, "mpz_mul_2exp"},
     27    {cfun_mpz_neg, "mpz_neg"},
     28    {cfun_mpz_abs, "mpz_abs"},
     29    {cfun_mpz_cdiv_r, "mpz_cdiv_r"},
     30    {cfun_mpz_cdiv_qr, "mpz_cdiv_qr"},
     31    {cfun_mpz_cdiv_q_ui, "mpz_cdiv_q_ui"},
     32    {cfun_mpz_cdiv_r_ui, "mpz_cdiv_r_ui"},
     33    {cfun_mpz_cdiv_qr_ui, "mpz_cdiv_qr_ui"},
     34    {cfun_mpz_cdiv_ui, "mpz_cdiv_ui"},
     35    {cfun_mpz_cdiv_q_2exp, "mpz_cdiv_q_2exp"},
     36    {cfun_mpz_cdiv_r_2exp, "mpz_cdiv_r_2exp"},
     37    {cfun_mpz_fdiv_q, "mpz_fdiv_q"},
     38    {cfun_mpz_fdiv_r, "mpz_fdiv_r"},
     39    {cfun_mpz_fdiv_qr, "mpz_fdiv_qr"},
     40    {cfun_mpz_fdiv_q_ui, "mpz_fdiv_q_ui"},
     41    {cfun_mpz_fdiv_r_ui, "mpz_fdiv_r_ui"},
     42    {cfun_mpz_fdiv_qr_ui, "mpz_fdiv_qr_ui"},
     43    {cfun_mpz_fdiv_ui, "mpz_fdiv_ui"},
     44    {cfun_mpz_fdiv_q_2exp, "mpz_fdiv_q_2exp"},
     45    {cfun_mpz_fdiv_r_2exp, "mpz_fdiv_r_2exp"},
     46    {cfun_mpz_tdiv_q, "mpz_tdiv_q"},
     47    {cfun_mpz_tdiv_r, "mpz_tdiv_r"},
     48    {cfun_mpz_tdiv_qr, "mpz_tdiv_qr"},
     49    {cfun_mpz_tdiv_q_ui, "mpz_tdiv_q_ui"},
     50    {cfun_mpz_tdiv_r_ui, "mpz_tdiv_r_ui"},
     51    {cfun_mpz_tdiv_qr_ui, "mpz_tdiv_qr_ui"},
     52    {cfun_mpz_tdiv_ui, "mpz_tdiv_ui"},
     53    {cfun_mpz_tdiv_q_2exp, "mpz_tdiv_q_2exp"},
     54    {cfun_mpz_tdiv_r_2exp, "mpz_tdiv_r_2exp"},
     55    {cfun_mpz_mod, "mpz_mod"},
     56    {cfun_mpz_mod_ui, "mpz_mod_ui"},
     57    {cfun_mpz_divexact, "mpz_divexact"},
     58    {cfun_mpz_divexact_ui, "mpz_divexact_ui"},
     59    {cfun_mpz_divisible_p, "mpz_divisible_p"},
     60    {cfun_mpz_divisible_ui_p, "mpz_divisible_ui_p"},
     61    {cfun_mpz_divisible_2exp_p, "mpz_divisible_2exp_p"},
     62    {cfun_mpz_congruent_p, "mpz_congruent_p"},
     63    {cfun_mpz_congruent_ui_p, "mpz_congruent_ui_p"},
     64    {cfun_mpz_congruent_2exp_p, "mpz_congruent_2exp_p"},
     65    {cfun_mpz_powm, "mpz_powm"},
     66    {cfun_mpz_powm_ui, "mpz_powm_ui"},
     67    {cfun_mpz_pow_ui, "mpz_pow_ui"},
     68    {cfun_mpz_ui_pow_ui, "mpz_ui_pow_ui"},
     69    {cfun_mpz_root, "mpz_root"},
     70    {cfun_mpz_rootrem, "mpz_rootrem"},
     71    {cfun_mpz_sqrt, "mpz_sqrt"},
     72    {cfun_mpz_sqrtrem, "mpz_sqrtrem"},
     73    {cfun_mpz_perfect_power_p, "mpz_perfect_power_p"},
     74    {cfun_mpz_perfect_square_p, "mpz_perfect_square_p"},
     75    {cfun_mpz_probab_prime_p, "mpz_probab_prime_p"},
     76    {cfun_mpz_nextprime, "mpz_nextprime"},
     77    {cfun_mpz_gcd, "mpz_gcd"},
     78    {cfun_mpz_gcd_ui, "mpz_gcd_ui"},
     79    {cfun_mpz_gcdext, "mpz_gcdext"},
     80    {cfun_mpz_lcm, "mpz_lcm"},
     81    {cfun_mpz_lcm_ui, "mpz_lcm_ui"},
     82    {cfun_mpz_invert, "mpz_invert"},
     83    {cfun_mpz_jacobi, "mpz_jacobi"},
     84    {cfun_mpz_legendre, "mpz_legendre"},
     85    {cfun_mpz_kronecker, "mpz_kronecker"},
     86    {cfun_mpz_kronecker_si, "mpz_kronecker_si"},
     87    {cfun_mpz_kronecker_ui, "mpz_kronecker_ui"},
     88    {cfun_mpz_si_kronecker, "mpz_si_kronecker"},
     89    {cfun_mpz_ui_kronecker, "mpz_ui_kronecker"},
     90    {cfun_mpz_remove, "mpz_remove"},
     91    {cfun_mpz_fac_ui, "mpz_fac_ui"},
     92    {cfun_mpz_bin_ui, "mpz_bin_ui"},
     93    {cfun_mpz_bin_uiui, "mpz_bin_uiui"},
     94    {cfun_mpz_fib_ui, "mpz_fib_ui"},
     95    {cfun_mpz_fib2_ui, "mpz_fib2_ui"},
     96    {cfun_mpz_lucnum_ui, "mpz_lucnum_ui"},
     97    {cfun_mpz_lucnum2_ui, "mpz_lucnum2_ui"},
     98    {cfun_mpz_cmp, "mpz_cmp"},
     99    {cfun_mpz_cmp_si, "mpz_cmp_si"},
    100    {cfun_mpz_cmp_ui, "mpz_cmp_ui"},
    101    {cfun_mpz_cmpabs, "mpz_cmpabs"},
    102    {cfun_mpz_cmpabs_ui, "mpz_cmpabs_ui"},
    103    {cfun_mpz_sgn, "mpz_sgn"},
    104    {cfun_mpz_and, "mpz_and"},
    105    {cfun_mpz_ior, "mpz_ior"},
    106    {cfun_mpz_xor, "mpz_xor"},
    107    {cfun_mpz_com, "mpz_com"},
    108    {cfun_mpz_popcount, "mpz_popcount"},
    109    {cfun_mpz_hamdist, "mpz_hamdist"},
    110    {cfun_mpz_scan0, "mpz_scan0"},
    111    {cfun_mpz_scan1, "mpz_scan1"},
    112    {cfun_mpz_setbit, "mpz_setbit"},
    113    {cfun_mpz_clrbit, "mpz_clrbit"},
    114    {cfun_mpz_combit, "mpz_combit"},
    115    {cfun_mpz_tstbit, "mpz_tstbit"},