FORTRAN SOFTWARE CATALOG

Repository owner: Jacob Williams (jacobwilliams)

mpfun2020-var1

Thread-safe arbitrary-precision real and complex arithmetic.

Repository · Pinned source (f2191ad80d81) · Try in playground · Checked package example

GAMS classifications

About this package

Category
High precision
License
BSD-3

Topics: arbitrary-precision, complex-arithmetic, precision, real-arithmetic, thread-safe

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

No additional GitHub package dependencies were recorded for this verified build.

Build record verified 2026-10-27.

Used by (1 selected package)

These selected builds include this repository directly or indirectly. Each link to source identifies the revision that build uses.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

operator(+) for mpreal (mp_addrr)

Module: mpmodule

A3c

A3c: verified

Derivatives / callbacks: not applicable

Addition of arbitrary-precision real operands through the public overloaded operator; other arithmetic operations need their own records. Dedicated A3c driver: six exact real additions at 120 requested decimal digits, including 10^80+1, negative addition, cancellation and a literal long-integer reference. Constructors, comparisons and addition are used; no full-domain accuracy claim.

Pinned source: src/mpfung1.f90

Author examples/tests: test/tquad.f90

Load checked GAMS driver: gams-mpfun-real-addition

operator(+) for mpcomplex (mp_addzz)

Module: mpmodule

A4c

A4c: verified

Derivatives / callbacks: not applicable

Addition of arbitrary-precision complex operands through the public overloaded operator; precision is not limited to hardware complex kinds. Dedicated A4c driver: five exact complex sums at 120 requested decimal digits, checking each component independently with explicit decimal references, including large-component cancellation to (1,2). Other complex arithmetic is outside this driver.

Pinned source: src/mpfung1.f90

Author examples/tests: test/tpphix3.f90

Load checked GAMS driver: gams-mpfun-complex-addition