Tom Verhoeff a écrit :
In fact, the GMP (GNU Multiple Precision Arithmetic Library <gmplib.org>) offers this and more. Unfortunately, there does not seem to be a complete FreePascal interface for it. Maybe it is easy to adapt (if necessary?) the GNU Pascal interface for GMP <http://www.gnu-pascal.de/gpc/GMP.html>. I would be interested.
But there are multi-precision libraries for Free Pascal. The one I am writing: "NX" (big integers, big reals, big complexes, big polynomials over GF(2)) at http://www.ellipsa.net/ An other one: "MPINT" (big integers, big rationals) at http://home.netsurf.de/wolfgang.ehrhardt/misc_en.html#mpint And there are others. mm _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal