A contribution to GMP

2013-10-23 Thread Lukasz Komsta
Dear Developers, I like using GMP in my research and the main drawback of current library is a very limited set of float functions. I see that implementing these is listed in developing plans. I have developed a set of following functions and I would like to share code with you and (if

Re: A contribution to GMP

2013-10-23 Thread Lukasz Komsta
Użytkownik Marc Glisse napisał: r sharing. Are you aware of the MPFR library? GMP's mpf_t type is a legacy type and we recommend people use MPFR for new projects. And if you are aware of it, how does your code compare, and what are the main motivations for sticking with mpf_t? I know about

Re: A contribution to GMP

2013-10-23 Thread Marc Glisse
On Wed, 23 Oct 2013, Lukasz Komsta wrote: I know about MPFR and noticed some time ago that it contains such functions, but I have not tested this library as I had no time to switch my codes to it. However, I will do it soon. I developed my functions during several long evenings to deal with

Re: A contribution to GMP

2013-10-23 Thread Torbjorn Granlund
Marc Glisse marc.gli...@inria.fr writes: On the homepage gmplib.org: Externally supported: High-level floating-point accurately rounding arithmetic functions (mpfr). See the mpfr site for more information. Starting with GMP 4.2, mpfr is released separately from GMP. (New projects should

Massive test failures for haswell-freebsd9

2013-10-23 Thread Torbjorn Granlund
Regarding http://gmplib.org/devel/tm-date.html. Some of you might have spotted build errors for solaris, with -fat. This is due to a static allocation of their m4. I've worked around it, so next build round should pass. A much worse error happens with Intel Haswell under FreeBSD 8 ad 9; here