Java GMP bindings 1.0.1 API

JGMP is a set of Java bindings and wrappers for the GMP (GNU Multi Precision Arithmetic Library) written using the JNA (Java Native Acccess) library.

The JGMP library consists of two packages. The it.unich.jgmp.nativelib package contains the low level code directly interfacing with the native GMP library, while the it.unich.jgmp package contains the high level classes which wrap native code.

It should work with all GMP versions from 6.1.0 onward. The JGMP library has been tested on Linux, Windows 10 and mac OS (on the x86-64 architecture) with GMP 6.2.1.

Before working with JGMP you need to install the native GNU Multiple Precision Arithmetic Library GMP. The native library is loaded by a static class initializer using the NativeLibrary.getInstance method of JNA, and it must be placed in a path where it is discoverable.

In Linux and macOS you may generally install GMP with your preferite package manager. In Windows you can put the gmp.dll file directly in the main folder of the application using JGMP.

Packages
Package
Description
This package contains all the high-level classes of JGMP.
This package contains all the low-level classes of JGMP.