Message-Id: <200003161836.NAA23097@delorie.com> From: GAMMELJL AT SLU DOT EDU Date: Thu, 16 Mar 2000 08:34:03 -0600 (CST) Subject: multiple precision package for C++ To: djgpp-announce AT delorie DOT com Organization: SAINT LOUIS UNIVERSITY St. Louis, MO X-VMS-To: IN%"djgpp-announce AT delorie DOT com" Reply-To: djgpp AT delorie DOT com jlggenp.zip has been added to the v2tk directory at the Simtel sites. jlggenp.zip is a package of files which add two new classes (realmp and complexmp) to C++ and enable multiple precision (mp) calculations to a precision set by the user. Quite lengthy calculations are possible provided the user's computer has sufficient memory. To make 128 mb or more accessible to one application one must run in plain DOS mode with Charles W. Sandmann's memory manager cwsdpmi or in Linux. Of course, it takes more time to compute to (say) 500 significant figures than it does to compute to (say) 64 significant figures. The package has been tested in plain DOS and in a DOS box running under Windows 95 and 98, and in Linux. All arithmetic operations have been overloaded and the elemen- tary transcendental functions have been overloaded for both real and complex numbers. A package of applications (polynomial solvers for polynomials whose coefficients are real or complex; linear system solvers for systems involving real or complex coefficients; manipulation of power series whose coefficients are real or complex; calculation of Pade approximants to series whose coefficients are real or complex) is included. Manuals with descriptions of what is possible are included. A number of examples of code written using the language is included. The notorious Wilkinson polynomial is solved in one of the examples, and--a pointless tour de force-- pi is computed to 10,000 in another.