Back to index

plt-scheme  4.2.1
Classes | Defines | Typedefs | Enumerations | Functions | Variables
gmp.h File Reference
#include <stddef.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mpz_struct
struct  __mpq_struct
struct  __mpf_struct
struct  __gmp_randata_lc
struct  __gmp_randstate_struct
union  __gmp_randstate_struct.algdata

Defines

#define __GNU_MP__   2
#define __need_size_t
#define __gmp_const
#define __gmp_signed
#define __gmp_inline
#define _EXTERN_INLINE   static
#define _PROTO(x)   ()
#define __MPN(x)   scheme_gmpn_x
#define mp_set_memory_functions   __gmp_set_memory_functions
#define mp_bits_per_limb   __gmp_bits_per_limb
#define mpn_add   __MPN(add)
#define mpn_add_1   __MPN(add_1)
#define mpn_add_n   __MPN(add_n)
#define mpn_add_nc   __MPN(add_nc)
#define mpn_addmul_1   __MPN(addmul_1)
#define mpn_addsub_n   __MPN(addsub_n)
#define mpn_addsub_nc   __MPN(addsub_nc)
#define mpn_bdivmod   __MPN(bdivmod)
#define mpn_cmp   __MPN(cmp)
#define mpn_copyd   __MPN(copyd)
#define mpn_copyi   __MPN(copyi)
#define mpn_divrem   __MPN(divrem)
#define mpn_divrem_1   __MPN(divrem_1)
#define mpn_divrem_2   __MPN(divrem_2)
#define mpn_dump   __MPN(dump)
#define mpn_gcd   __MPN(gcd)
#define mpn_gcd_1   __MPN(gcd_1)
#define mpn_gcdext   __MPN(gcdext)
#define mpn_get_str   __MPN(get_str)
#define mpn_hamdist   __MPN(hamdist)
#define mpn_invert_limb   __MPN(invert_limb)
#define mpn_lshift   __MPN(lshift)
#define mpn_lshiftc   __MPN(lshiftc)
#define mpn_mod_1   __MPN(mod_1)
#define mpn_mul   __MPN(mul)
#define mpn_mul_1   __MPN(mul_1)
#define mpn_mul_basecase   __MPN(mul_basecase)
#define mpn_mul_n   __MPN(mul_n)
#define mpn_perfect_square_p   __MPN(perfect_square_p)
#define mpn_popcount   __MPN(popcount)
#define mpn_preinv_mod_1   __MPN(preinv_mod_1)
#define mpn_random   __MPN(random)
#define mpn_random2   __MPN(random2)
#define mpn_rshift   __MPN(rshift)
#define mpn_rshiftc   __MPN(rshiftc)
#define mpn_scan0   __MPN(scan0)
#define mpn_scan1   __MPN(scan1)
#define mpn_set_str   __MPN(set_str)
#define mpn_sqr_basecase   __MPN(sqr_basecase)
#define mpn_sqr_n   __MPN(sqr_n)
#define mpn_sqrtrem   __MPN(sqrtrem)
#define mpn_sub   __MPN(sub)
#define mpn_sub_1   __MPN(sub_1)
#define mpn_sub_n   __MPN(sub_n)
#define mpn_sub_nc   __MPN(sub_nc)
#define mpn_submul_1   __MPN(submul_1)
#define XFORM_GMP_NONGCING
#define mpn_addmul_1c   __MPN(addmul_1c)
#define mpn_divexact_by3(dst, src, size)   mpn_divexact_by3c (dst, src, size, 0)
#define mpn_divexact_by3c   __MPN(divexact_by3c)
#define mpn_divmod_1(qp, np, nsize, dlimb)   mpn_divrem_1 (qp,0,np,nsize,dlimb)
#define mpn_divrem_1c   __MPN(divrem_1c)
#define mpn_jacobi_base   __MPN(jacobi_base)
#define mpn_mod_1c   __MPN(mod_1c)
#define mpn_mod_1_rshift   __MPN(mod_1_rshift)
#define mpn_mul_1c   __MPN(mul_1c)
#define mpn_submul_1c   __MPN(submul_1c)
#define mpn_tdiv_qr   __MPN(tdiv_qr)
#define mpn_incr_u(p, incr)
#define mpn_decr_u(p, incr)
#define mpz_sgn(Z)   ((Z)->_mp_size < 0 ? -1 : (Z)->_mp_size > 0)
#define mpf_sgn(F)   ((F)->_mp_size < 0 ? -1 : (F)->_mp_size > 0)
#define mpq_sgn(Q)   ((Q)->_mp_num._mp_size < 0 ? -1 : (Q)->_mp_num._mp_size > 0)
#define mpz_cmp_ui(Z, UI)   _mpz_cmp_ui (Z,UI)
#define mpz_cmp_si(Z, UI)   _mpz_cmp_si (Z,UI)
#define mpq_cmp_ui(Q, NUI, DUI)   _mpq_cmp_ui (Q,NUI,DUI)
#define mpz_odd_p(z)   ((int) ((z)->_mp_size != 0) & (int) (z)->_mp_d[0])
#define mpz_even_p(z)   (! mpz_odd_p (z))
#define mpq_numref(Q)   (&((Q)->_mp_num))
#define mpq_denref(Q)   (&((Q)->_mp_den))
#define mpn_divmod(qp, np, nsize, dp, dsize)   mpn_divrem (qp,0,np,nsize,dp,dsize)
#define mpz_mdiv   mpz_fdiv_q
#define mpz_mdivmod   mpz_fdiv_qr
#define mpz_mmod   mpz_fdiv_r
#define mpz_mdiv_ui   mpz_fdiv_q_ui
#define mpz_mdivmod_ui(q, r, n, d)   ((r == 0) ? mpz_fdiv_q_ui (q,n,d) : mpz_fdiv_qr_ui (q,r,n,d))
#define mpz_mmod_ui(r, n, d)   ((r == 0) ? mpz_fdiv_ui (n,d) : mpz_fdiv_r_ui (r,n,d))
#define mpz_div   mpz_fdiv_q
#define mpz_divmod   mpz_fdiv_qr
#define mpz_div_ui   mpz_fdiv_q_ui
#define mpz_divmod_ui   mpz_fdiv_qr_ui
#define mpz_mod_ui   mpz_fdiv_r_ui
#define mpz_div_2exp   mpz_fdiv_q_2exp
#define mpz_mod_2exp   mpz_fdiv_r_2exp
#define gmp_errno   __gmp_errno
#define __GNU_MP_VERSION   3
#define __GNU_MP_VERSION_MINOR   1
#define __GNU_MP_VERSION_PATCHLEVEL   1
#define gmp_version   __gmp_version
#define __GMP_H__

Typedefs

typedef unsigned long int mp_limb_t
typedef long int mp_limb_signed_t
typedef mp_limb_tmp_ptr
typedef __gmp_const mp_limb_tmp_srcptr
typedef long int mp_size_t
typedef long int mp_exp_t
typedef __mpz_struct MP_INT
typedef __mpz_struct mpz_t [1]
typedef __mpq_struct MP_RAT
typedef __mpq_struct mpq_t [1]
typedef __mpf_struct mpf_t [1]
typedef __gmp_randstate_struct gmp_randstate_t [1]
typedef __gmp_const __mpz_structmpz_srcptr
typedef __mpz_structmpz_ptr
typedef __gmp_const __mpf_structmpf_srcptr
typedef __mpf_structmpf_ptr
typedef __gmp_const __mpq_structmpq_srcptr
typedef __mpq_structmpq_ptr

Enumerations

enum  gmp_randalg_t { GMP_RAND_ALG_DEFAULT = 0, GMP_RAND_ALG_LC = GMP_RAND_ALG_DEFAULT }
enum  {
  GMP_ERROR_NONE = 0, GMP_ERROR_UNSUPPORTED_ARGUMENT = 1, GMP_ERROR_DIVISION_BY_ZERO = 2, GMP_ERROR_SQRT_OF_NEGATIVE = 4,
  GMP_ERROR_INVALID_ARGUMENT = 8, GMP_ERROR_ALLOCATE = 16, GMP_ERROR_BAD_STRING = 32, GMP_ERROR_UNUSED_ERROR
}

Functions

void mp_set_memory_functions _PROTO ((void *(*)(size_t), void *(*)(void *, size_t, size_t), void(*)(void *, size_t)))
mp_limb_t mpn_add _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t))
mp_limb_t mpn_add_1 _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t))
mp_limb_t mpn_add_n _PROTO ((mp_ptr, mp_srcptr, mp_srcptr, mp_size_t))
mp_limb_t mpn_add_nc _PROTO ((mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t))
mp_limb_t mpn_addmul_1c _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t))
mp_limb_t mpn_addsub_n _PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_srcptr, mp_size_t))
mp_limb_t mpn_bdivmod _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, unsigned long int))
XFORM_GMP_NONGCING int mpn_cmp _PROTO ((mp_srcptr, mp_srcptr, mp_size_t))
mp_limb_t mpn_divexact_by3c _PROTO ((mp_ptr dst, mp_srcptr src, mp_size_t size, mp_limb_t carry))
mp_limb_t mpn_divrem _PROTO ((mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_srcptr, mp_size_t))
mp_limb_t mpn_divrem_1 _PROTO ((mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t))
mp_limb_t mpn_divrem_1c _PROTO ((mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t))
mp_limb_t mpn_divrem_2 _PROTO ((mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_srcptr))
void mpn_dump _PROTO ((mp_srcptr, mp_size_t))
mp_size_t mpn_gcd _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t))
mp_limb_t mpn_gcd_1 _PROTO ((mp_srcptr, mp_size_t, mp_limb_t))
mp_size_t mpn_gcdext _PROTO ((mp_ptr, mp_ptr, mp_size_t *, mp_ptr, mp_size_t, mp_ptr, mp_size_t))
size_t mpn_get_str _PROTO ((unsigned char *, int, mp_ptr, mp_size_t))
int mpn_jacobi_base _PROTO ((mp_limb_t a, mp_limb_t b, int result_bit1))
mp_limb_t mpn_lshift _PROTO ((mp_ptr, mp_srcptr, mp_size_t, unsigned int))
mp_limb_t mpn_mod_1c _PROTO ((mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t))
mp_limb_t mpn_mod_1_rshift _PROTO ((mp_srcptr, mp_size_t, unsigned, mp_limb_t))
void mpn_random _PROTO ((mp_ptr, mp_size_t))
unsigned long int mpn_scan0 _PROTO ((mp_srcptr, unsigned long int))
mp_size_t mpn_set_str _PROTO ((mp_ptr, __gmp_const unsigned char *, size_t, int))
void mpn_sqr_n _PROTO ((mp_ptr, mp_srcptr, mp_size_t))
mp_size_t mpn_sqrtrem _PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_size_t))
void mpn_tdiv_qr _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t))

Variables

__gmp_const int mp_bits_per_limb
int gmp_errno
__gmp_const char * gmp_version

Class Documentation

struct __mpz_struct

Definition at line 94 of file gmp.h.

Class Members
int _mp_alloc
mp_limb_t * _mp_d
int _mp_size
struct __mpq_struct

Definition at line 108 of file gmp.h.

Collaboration diagram for __mpq_struct:
Class Members
__mpz_struct _mp_den
__mpz_struct _mp_num
struct __mpf_struct

Definition at line 117 of file gmp.h.

Class Members
mp_limb_t * _mp_d
mp_exp_t _mp_exp
int _mp_prec
int _mp_size
struct __gmp_randata_lc

Definition at line 141 of file gmp.h.

Collaboration diagram for __gmp_randata_lc:
Class Members
mpz_t a
unsigned long int c
mpz_t m
unsigned long int m2exp
struct __gmp_randstate_struct

Definition at line 149 of file gmp.h.

Collaboration diagram for __gmp_randstate_struct:
Class Members
gmp_randalg_t alg
union __gmp_randstate_struct algdata
mpz_t seed
union __gmp_randstate_struct.algdata

Definition at line 153 of file gmp.h.

Class Members
__gmp_randata_lc * lc

Define Documentation

#define __gmp_const

Definition at line 52 of file gmp.h.

#define __GMP_H__

Definition at line 610 of file gmp.h.

#define __gmp_inline

Definition at line 59 of file gmp.h.

#define __gmp_signed

Definition at line 53 of file gmp.h.

#define __GNU_MP__   2

Definition at line 26 of file gmp.h.

#define __GNU_MP_VERSION   3

Definition at line 603 of file gmp.h.

#define __GNU_MP_VERSION_MINOR   1

Definition at line 604 of file gmp.h.

Definition at line 605 of file gmp.h.

#define __MPN (   x)    scheme_gmpn_x

Definition at line 181 of file gmp.h.

#define __need_size_t

Definition at line 27 of file gmp.h.

#define _EXTERN_INLINE   static

Definition at line 66 of file gmp.h.

#define _PROTO (   x)    ()

Definition at line 172 of file gmp.h.

#define gmp_errno   __gmp_errno

Definition at line 587 of file gmp.h.

#define gmp_version   __gmp_version

Definition at line 607 of file gmp.h.

#define mp_bits_per_limb   __gmp_bits_per_limb

Definition at line 200 of file gmp.h.

#define mp_set_memory_functions   __gmp_set_memory_functions

Definition at line 195 of file gmp.h.

#define mpf_sgn (   F)    ((F)->_mp_size < 0 ? -1 : (F)->_mp_size > 0)

Definition at line 530 of file gmp.h.

#define mpn_add   __MPN(add)

Definition at line 211 of file gmp.h.

#define mpn_add_1   __MPN(add_1)

Definition at line 212 of file gmp.h.

#define mpn_add_n   __MPN(add_n)

Definition at line 213 of file gmp.h.

#define mpn_add_nc   __MPN(add_nc)

Definition at line 214 of file gmp.h.

#define mpn_addmul_1   __MPN(addmul_1)

Definition at line 215 of file gmp.h.

#define mpn_addmul_1c   __MPN(addmul_1c)

Definition at line 287 of file gmp.h.

#define mpn_addsub_n   __MPN(addsub_n)

Definition at line 216 of file gmp.h.

#define mpn_addsub_nc   __MPN(addsub_nc)

Definition at line 217 of file gmp.h.

#define mpn_bdivmod   __MPN(bdivmod)

Definition at line 220 of file gmp.h.

#define mpn_cmp   __MPN(cmp)

Definition at line 221 of file gmp.h.

#define mpn_copyd   __MPN(copyd)

Definition at line 223 of file gmp.h.

#define mpn_copyi   __MPN(copyi)

Definition at line 224 of file gmp.h.

#define mpn_decr_u (   p,
  incr 
)
Value:
do { mp_limb_t __x; mp_ptr __p = p;                     \
    __x = *__p;                                         \
    *__p = __x - incr;                                  \
    if (__x < incr)                              \
      while ((*(++__p))-- == 0)    {}                   \
  } while (0)

Definition at line 374 of file gmp.h.

#define mpn_divexact_by3 (   dst,
  src,
  size 
)    mpn_divexact_by3c (dst, src, size, 0)

Definition at line 294 of file gmp.h.

#define mpn_divexact_by3c   __MPN(divexact_by3c)

Definition at line 296 of file gmp.h.

#define mpn_divmod (   qp,
  np,
  nsize,
  dp,
  dsize 
)    mpn_divrem (qp,0,np,nsize,dp,dsize)

Definition at line 566 of file gmp.h.

#define mpn_divmod_1 (   qp,
  np,
  nsize,
  dlimb 
)    mpn_divrem_1 (qp,0,np,nsize,dlimb)

Definition at line 300 of file gmp.h.

#define mpn_divrem   __MPN(divrem)

Definition at line 225 of file gmp.h.

#define mpn_divrem_1   __MPN(divrem_1)

Definition at line 226 of file gmp.h.

#define mpn_divrem_1c   __MPN(divrem_1c)

Definition at line 306 of file gmp.h.

#define mpn_divrem_2   __MPN(divrem_2)

Definition at line 227 of file gmp.h.

#define mpn_dump   __MPN(dump)

Definition at line 228 of file gmp.h.

#define mpn_gcd   __MPN(gcd)

Definition at line 229 of file gmp.h.

#define mpn_gcd_1   __MPN(gcd_1)

Definition at line 230 of file gmp.h.

#define mpn_gcdext   __MPN(gcdext)

Definition at line 231 of file gmp.h.

#define mpn_get_str   __MPN(get_str)

Definition at line 232 of file gmp.h.

#define mpn_hamdist   __MPN(hamdist)

Definition at line 233 of file gmp.h.

#define mpn_incr_u (   p,
  incr 
)
Value:
do { mp_limb_t __x; mp_ptr __p = p;                     \
    __x = *__p + incr;                                  \
    *__p = __x;                                         \
    if (__x < incr)                              \
      while (++(*(++__p)) == 0) {}               \
  } while (0)

Definition at line 366 of file gmp.h.

Definition at line 234 of file gmp.h.

#define mpn_jacobi_base   __MPN(jacobi_base)

Definition at line 318 of file gmp.h.

#define mpn_lshift   __MPN(lshift)

Definition at line 239 of file gmp.h.

#define mpn_lshiftc   __MPN(lshiftc)

Definition at line 240 of file gmp.h.

#define mpn_mod_1   __MPN(mod_1)

Definition at line 241 of file gmp.h.

#define mpn_mod_1_rshift   __MPN(mod_1_rshift)

Definition at line 327 of file gmp.h.

#define mpn_mod_1c   __MPN(mod_1c)

Definition at line 324 of file gmp.h.

#define mpn_mul   __MPN(mul)

Definition at line 242 of file gmp.h.

#define mpn_mul_1   __MPN(mul_1)

Definition at line 243 of file gmp.h.

#define mpn_mul_1c   __MPN(mul_1c)

Definition at line 333 of file gmp.h.

#define mpn_mul_basecase   __MPN(mul_basecase)

Definition at line 244 of file gmp.h.

#define mpn_mul_n   __MPN(mul_n)

Definition at line 245 of file gmp.h.

#define mpn_perfect_square_p   __MPN(perfect_square_p)

Definition at line 246 of file gmp.h.

#define mpn_popcount   __MPN(popcount)

Definition at line 247 of file gmp.h.

#define mpn_preinv_mod_1   __MPN(preinv_mod_1)

Definition at line 248 of file gmp.h.

#define mpn_random   __MPN(random)

Definition at line 251 of file gmp.h.

#define mpn_random2   __MPN(random2)

Definition at line 252 of file gmp.h.

#define mpn_rshift   __MPN(rshift)

Definition at line 253 of file gmp.h.

#define mpn_rshiftc   __MPN(rshiftc)

Definition at line 254 of file gmp.h.

#define mpn_scan0   __MPN(scan0)

Definition at line 255 of file gmp.h.

#define mpn_scan1   __MPN(scan1)

Definition at line 256 of file gmp.h.

#define mpn_set_str   __MPN(set_str)

Definition at line 257 of file gmp.h.

#define mpn_sqr_basecase   __MPN(sqr_basecase)

Definition at line 258 of file gmp.h.

#define mpn_sqr_n   __MPN(sqr_n)

Definition at line 259 of file gmp.h.

#define mpn_sqrtrem   __MPN(sqrtrem)

Definition at line 260 of file gmp.h.

#define mpn_sub   __MPN(sub)

Definition at line 261 of file gmp.h.

#define mpn_sub_1   __MPN(sub_1)

Definition at line 262 of file gmp.h.

#define mpn_sub_n   __MPN(sub_n)

Definition at line 263 of file gmp.h.

#define mpn_sub_nc   __MPN(sub_nc)

Definition at line 264 of file gmp.h.

#define mpn_submul_1   __MPN(submul_1)

Definition at line 265 of file gmp.h.

#define mpn_submul_1c   __MPN(submul_1c)

Definition at line 356 of file gmp.h.

#define mpn_tdiv_qr   __MPN(tdiv_qr)

Definition at line 359 of file gmp.h.

#define mpq_cmp_ui (   Q,
  NUI,
  DUI 
)    _mpq_cmp_ui (Q,NUI,DUI)

Definition at line 549 of file gmp.h.

#define mpq_denref (   Q)    (&((Q)->_mp_den))

Definition at line 562 of file gmp.h.

#define mpq_numref (   Q)    (&((Q)->_mp_num))

Definition at line 561 of file gmp.h.

#define mpq_sgn (   Q)    ((Q)->_mp_num._mp_size < 0 ? -1 : (Q)->_mp_num._mp_size > 0)

Definition at line 531 of file gmp.h.

#define mpz_cmp_si (   Z,
  UI 
)    _mpz_cmp_si (Z,UI)

Definition at line 548 of file gmp.h.

#define mpz_cmp_ui (   Z,
  UI 
)    _mpz_cmp_ui (Z,UI)

Definition at line 547 of file gmp.h.

#define mpz_div   mpz_fdiv_q

Definition at line 579 of file gmp.h.

#define mpz_div_2exp   mpz_fdiv_q_2exp

Definition at line 584 of file gmp.h.

#define mpz_div_ui   mpz_fdiv_q_ui

Definition at line 581 of file gmp.h.

#define mpz_divmod   mpz_fdiv_qr

Definition at line 580 of file gmp.h.

#define mpz_divmod_ui   mpz_fdiv_qr_ui

Definition at line 582 of file gmp.h.

#define mpz_even_p (   z)    (! mpz_odd_p (z))

Definition at line 557 of file gmp.h.

#define mpz_mdiv   mpz_fdiv_q

Definition at line 569 of file gmp.h.

#define mpz_mdiv_ui   mpz_fdiv_q_ui

Definition at line 572 of file gmp.h.

#define mpz_mdivmod   mpz_fdiv_qr

Definition at line 570 of file gmp.h.

#define mpz_mdivmod_ui (   q,
  r,
  n,
 
)    ((r == 0) ? mpz_fdiv_q_ui (q,n,d) : mpz_fdiv_qr_ui (q,r,n,d))

Definition at line 573 of file gmp.h.

#define mpz_mmod   mpz_fdiv_r

Definition at line 571 of file gmp.h.

#define mpz_mmod_ui (   r,
  n,
 
)    ((r == 0) ? mpz_fdiv_ui (n,d) : mpz_fdiv_r_ui (r,n,d))

Definition at line 575 of file gmp.h.

#define mpz_mod_2exp   mpz_fdiv_r_2exp

Definition at line 585 of file gmp.h.

#define mpz_mod_ui   mpz_fdiv_r_ui

Definition at line 583 of file gmp.h.

#define mpz_odd_p (   z)    ((int) ((z)->_mp_size != 0) & (int) (z)->_mp_d[0])

Definition at line 556 of file gmp.h.

#define mpz_sgn (   Z)    ((Z)->_mp_size < 0 ? -1 : (Z)->_mp_size > 0)

Definition at line 529 of file gmp.h.

Definition at line 274 of file gmp.h.


Typedef Documentation

Definition at line 157 of file gmp.h.

typedef long int mp_exp_t

Definition at line 91 of file gmp.h.

Definition at line 105 of file gmp.h.

typedef long int mp_limb_signed_t

Definition at line 79 of file gmp.h.

typedef unsigned long int mp_limb_t

Definition at line 78 of file gmp.h.

typedef mp_limb_t* mp_ptr

Definition at line 83 of file gmp.h.

Definition at line 114 of file gmp.h.

typedef long int mp_size_t

Definition at line 90 of file gmp.h.

Definition at line 84 of file gmp.h.

Definition at line 164 of file gmp.h.

Definition at line 163 of file gmp.h.

typedef __mpf_struct mpf_t[1]

Definition at line 131 of file gmp.h.

Definition at line 166 of file gmp.h.

Definition at line 165 of file gmp.h.

typedef __mpq_struct mpq_t[1]

Definition at line 115 of file gmp.h.

Definition at line 162 of file gmp.h.

Definition at line 161 of file gmp.h.

typedef __mpz_struct mpz_t[1]

Definition at line 106 of file gmp.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
GMP_ERROR_NONE 
GMP_ERROR_UNSUPPORTED_ARGUMENT 
GMP_ERROR_DIVISION_BY_ZERO 
GMP_ERROR_SQRT_OF_NEGATIVE 
GMP_ERROR_INVALID_ARGUMENT 
GMP_ERROR_ALLOCATE 
GMP_ERROR_BAD_STRING 
GMP_ERROR_UNUSED_ERROR 

Definition at line 590 of file gmp.h.

Enumerator:
GMP_RAND_ALG_DEFAULT 
GMP_RAND_ALG_LC 

Definition at line 134 of file gmp.h.


Function Documentation

void mp_set_memory_functions _PROTO ( (void *(*)(size_t), void *(*)(void *, size_t, size_t), void(*)(void *, size_t))  )
unsigned long int mpn_popcount _PROTO ( (mp_srcptr, mp_size_t )
size_t mpn_get_str _PROTO ( (unsigned char *, int, mp_ptr, mp_size_t )
unsigned long int mpn_scan1 _PROTO ( (mp_srcptr, unsigned long int )
mp_size_t mpn_set_str _PROTO ( (mp_ptr, __gmp_const unsigned char *, size_t, int )

Variable Documentation