Arbitrary Precision Math Library


Wes Loewer, loewer@tenet.edu who programmed the Arbitrary Precision math library for Fractint has made his source-code available here for other programmers who want to use these techniques in their own efforts. He has made a valiant effort to document them and generally providing useful information to help in porting these routines to other platforms. They will provide precision up to 1600 decimal digits. It is programmed using both assembler and the C programming language.

Here is an excerpt from his documentation.

Wesley Loewer's Big Numbers v 1.1 (C) 1994-95 Wesley B. Loewer The Big Number Library is a set of routines that allows one to develop programs which calculate numbers to an arbitrary precision, limited only by the memory available. The library differs from most other big number libraries in that it has both floating point and fixed point math available. Fix point math is faster, but is limited in its range. Some libraries offer big integer math, but this differs from fixed point math too. With fix point math the most significant digits are kept after a multiplication, but with integer math, the least significant digits are kept. Certain applications work very well with fixed point math, such as calculating some fractal images. This purpose of writing this Big Number Library was originally to give Fractint the ability to zoom arbitrarily deep. After having accomplished this, it was suggested that others may be interested in these routines. Feel free to use this library of routines in your own programs. All that I ask is 1) You give proper credit in the documentation. 2) You send me a complimentary (registered) copy of your program. Thanks, Wesley Loewer 78 S. Circlewood Glen The Woodlands, TX 77381 USA (713) 292-3449 loewer@tenet.edu The library of routines is available here at Spanky in the code archive.
Back to The Fractint Home Page. or back to The Fractint Index Page.

This page maintained by

Noel Giffin,
noel@triumf.ca