All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class prolog.math.MPN

java.lang.Object
   |
   +----prolog.math.MPN

class MPN
extends Object
Maths package for Prolog. A stripped and modified version of the gnu.math library, which has the following copyright:

Copyright (c) 1997 Per M.A. Bothner. This is free software; for terms and warranty disclaimer see ./COPYING.

This contains various low-level routines for unsigned bigints. The interfaces match the mpn interfaces in gmp, so it should be easy to replace them with fast native functions that are trivial wrappers around the mpn_ functions in gmp (at least on platforms that use 32-bit "limbs").

This class is not public and therefore cannot be used outside this package.


All Packages  Class Hierarchy  This Package  Previous  Next  Index