GMP Native Interface for .NET
Math.Gmp.Native Namespace |
The Math.Gmp.Native namespace contains types defined to expose all of the GNU GMP functionality to .NET.

Class | Description | |
---|---|---|
![]() | gmp_lib |
Represents all of the functions of the GNU MP library.
|
![]() | gmp_randstate_t |
Represents the state of a random number generator.
|
![]() | mp_base | |
![]() | mp_ptr |
Represents a pointer to an array of mp_limb_t values in unmanaged memory,
|
![]() | mpf_t |
Represents a multiple precision floating-point number.
|
![]() | mpq_t |
Represents a multiple precision rational number.
|
![]() | mpz_t |
Represents a multiple precision integer.
|
![]() | ptrT |
Represents a pointer to a value of type T.
|
![]() | va_list |
Represent a variable argument list.
|

Structure | Description | |
---|---|---|
![]() | char_ptr |
Represents a pointer to a string in unmanaged memory.
|
![]() | FILE |
Represents a file stream.
|
![]() | mp_bitcnt_t |
Represents a count of bits.
|
![]() | mp_exp_t |
Represents the exponent of a floating-point number.
|
![]() | mp_limb_t |
Represents a part of a multiple precision number.
|
![]() | mp_size_t |
Represents a count of limbs.
|
![]() | size_t |
Represents a count of characters or bytes.
|
![]() | void_ptr |
Represents a pointer to a block of unmanaged memory.
|

Delegate | Description | |
---|---|---|
![]() | allocate_function |
Return a pointer to newly allocated space with at least alloc_size bytes.
|
![]() | free_function |
De-allocate the space pointed to by ptr.
|
![]() | reallocate_function |
Resize a previously allocated block ptr of old_size bytes to be new_size bytes.
|