www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - are these interresting libraries for D (especialy for the math section)?

reply dennis luehring <dl.soluz gmx.net> writes:
"The MPFR library is a C library for multiple-precision floating-point 
computations with exact rounding (also called correct rounding). It is 
based on the GMP multiple-precision library. The main goal of MPFR is to 
provide a library for multiple-precision floating-point computation 
which is both efficient and has well-defined semantics. It copies the 
good ideas from the ANSI/IEEE-754 standard for double-precision 
floating-point arithmetic (53-bit mantissa)."


"GMP is a free library for arbitrary precision arithmetic, operating on 
signed integers, rational numbers, and floating point numbers. There is 
no practical limit to the precision except the ones implied by the 
available memory in the machine GMP runs on. GMP has a rich set of 
functions, and the functions have a regular interface."


"MPC is a library for the arithmetic of complex numbers with arbitrary 
precision and correct rounding of the result to the precision of the 
target variable. It is built upon and follows the same principles as 
mpfr. It is written by Paul Zimmermann, Patrick Pélissier and Andreas 
Enge and distributed under the Gnu Lesser General Public License."


ciao dennis
Oct 12 2005
parent "Ben Hinkle" <ben.hinkle gmail.com> writes:
For a D wrapper for GMP see http://home.comcast.net/~benhinkle/gmp-d/.
Oct 12 2005