gmp_printf bug?

Vincent Lefevre vincent at vinc17.net
Wed Aug 10 19:53:26 CEST 2011


On 2011-08-10 15:53:43 +0200, Niels Möller wrote:
> Vincent Lefevre <vincent at vinc17.net> writes:
> > Yes, the table would be hardcoded in the source (just like other
> > fixed tables).
> 
> The point here is to write (and distribute) a program to generate one of
> the needed "hardcoded" tables. Then it's a bit pointless if that program
> depends on some other hardcoded table.

Ah, OK, but then...

> Additionally, it's desirable that the program is portable in the sense
> that it can compute the needed tables for any limbsize configure might
> ever choose (even if currently I suspect 32 and 64 bits are the only
> sizes used).

MPFR can do that. Or is the problem is that you want to generate
the table at configure time because the limb size may be arbitrarily
large, so that you don't want to depend on MPFR?

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


More information about the gmp-devel mailing list