Skip to content

Java bindings for the GMP (GNU Multiple Precision Arithmetic Library) using JNA

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE.txt
LGPL-3.0
LICENSE.LESSER
Notifications You must be signed in to change notification settings

jandom-devel/JGMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JGMP

Java bindings for the GMP Library.

The GNU Multiple Precision Arithmetic Library (GMP) is a widely used library for computing with arbitrary precision arithmetic. The library has bindings for many programming languages, including .NET, OCaml, Perl, PHP, Python, R, Ruby, and Rust, with the notable exception of Java.

The JGMP library provides Java bindings and wrappers for using GMP from within any JVM-based language. 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.

The documentation is available on javadoc.io.

A set of benchmarks and examples is available in JGMPBenchmarks.

Installation instructions

JGMP is available on Maven Central Repository using groupId it.unich.jgmp and artifactId jgmp.

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.


Authors: Gianluca Amato and Francesca Scozzari

About

Java bindings for the GMP (GNU Multiple Precision Arithmetic Library) using JNA

Topics

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE.txt
LGPL-3.0
LICENSE.LESSER

Stars

Watchers

Forks

Packages

No packages published

Languages