Arithmos related software

Development discontiuned

Because of my new job, I do not have time to continue developing this project. If you send me patches for this software, I will put them on-line, but I will not provide updates myself any more. If you want to ‘adopt’ this project, you are invited to do so. If you let me know, I will link to a new project page.

libmplite

This free software library provides a C++ interface around the mpfr C library for multiprecision floating point arithmetic. The interface is the same as the one of MpIeee.

overview

Motivation

This library was created to be linked against libcff, a library to approximate functions using continued fraction approximations. libcff was originally written for the MpIeee class, which is not available for download. So this library provides a replacement until MpIeee will finally be released.

Interface

The libmplite interface isn’t exactly the same as the one of MpIeee. One of the reasons is that I wanted to experiment with another coding standard. But a simple ‘#include <SubstMpIeee.hh>’ in your source files will make libmpliteMpIeee compatible’.

All classes and functions are contained in a namespace Johan, because I wanted to experiment with namespaces, but I didn’t find a better name for my namespace :-)

System requirements

The library is known to work under Red Hat Linux 9.0 and Debian GNU/Linux 3.0. In fact it should work under any Linux or *BSD, provided that you installed mpfr, GNU make, and a recent C++ compiler (e.g. gcc 3).

Before you can use this library, gmp and mpfr have to be installed on your system. We recommend to use version 2.0.3 or later of mpfr, because previous versions suffer from some naughty bugs.

Download

Installation instructions

This library is installed the ‘standard GNU way’ :

  1. Unpack the archive
  2. cd to the libmplite-x.x directory, and run ‘./configure’ script.
  3. Run ‘make’ to build the library, and ‘make install’ to install it. (If you are using FreeBSD, you might need ‘gmake’ instead of ‘make

If you don't want a ‘standard installation’, you can provide some parameters to configure. Enter ‘./configure --help’ for a list of available options.

Build problems

There are some known build problems under FreeBSD.

Documentation

For the moment, there is no documentation available, except what you can find in the header file MpLite.h.

You can also look at this example program, which is nothing more than the conversion of an mpfr example to libmplite. If you did a standard install, you can compile this file using

Known bugs

Projects using libmplite

Libmplite is used in libcff, a C++ continued fractions toolkit, and in libmultival, a multiprecision C++ interval class.

Credits

Contact

For bugfixes, suggestions, questions, more information,... : johan@linux.be

Copyright (c) 2003 Johan Vervloet.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.

Modified: 27 September 2006

Microsoft Free Valid XHTML 1.1! Valid CSS!