Commit Graph

5 Commits

Author SHA1 Message Date
Julien Fischer
84e2536618 Fix minor compilation problems in extras and benchmarks.
These are due to:

- differences between module and file names.
- redundant imports
- the recent change from math.domain_error -> exception.domain_error.

benchmarks/*/*.m:
extras/*/*.m:
    As above.
2020-05-15 16:00:41 +10:00
Julien Fischer
af528f1c90 Fix comments in extras/gmp_int.
extras/gmp_int/gmp_int.m:
     Fix the wording of a couple of comments.
2017-05-07 23:12:23 +10:00
Julien Fischer
5bb120b746 Fix spelling.
extras/gmp_int/README:
extras/gmp_int/gmp_int.m:
     As above.
2015-08-21 09:16:03 +10:00
Peter Wang
87e5df8698 Some changes to gmp_int.
extras/gmp_int/gmp_int.m:
	Change semidet functions to semidet predicates.

	Fix assertion on size of MR_Integer.

	Make custom memory allocation functions local to the module.

	Cosmetic changes.
2015-06-20 13:12:48 +10:00
Matthias Güdemann
629c59f03e Add gmp_int data type based on GMP.
This adds a gmp_int data type which corresponds to mpz_t of GMP (GNU
multi-precision library).

extras/gmp_int/gmp_int.m:
        Mercury module containing FFI bindings to GMP

extras/gmp_int/gmp_int_test.m:
        Test basic functions of gmp_int.m.

extras/gmp_int/README:
        Basic usage and compilation information.

extras/README:
        Announce gmp_int in extras folder.
2015-06-20 13:12:48 +10:00