Quote Originally Posted by GMarco View Post
Hi Laserlight,

i looked at GMP-reference and Java.BigInteger, nice methods provided (like next Prime...), but nothing about fractions.
The GMP page explicitly states that it provides for rational numbers of arbitray precision. See http://gmplib.org/
Quote Originally Posted by GMP Page
GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers.
Here is the link to the GMP manual for describing the functions available for rational numbers: "Rational Number Functions" at http://gmplib.org/manual/Rational-Number-Functions.html

Mike