Re: mini-gmp mpz_{get,set}_d not fully compatible with GMP

2018-03-16 Thread Marco Bodrato
Ciao, Il Mer, 14 Marzo 2018 7:10 pm, Niels Möller ha scritto: > "Marco Bodrato" writes: >> #if defined(USE_FLOAT_H) >> #include >> #endif > > This won't work well for mini-gmp. My idea was, if mini-gmp is used "as-is", it supports IEEE doubles. If some other double

Re: mini-gmp mpz_{get,set}_d not fully compatible with GMP

2018-03-16 Thread Marc Glisse
On Fri, 16 Mar 2018, Marco Bodrato wrote: float.h was defined by C99, right? I am pretty sure it was already in C89. -- Marc Glisse ___ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel

Re: mini-gmp mpz_{get,set}_d not fully compatible with GMP

2018-03-16 Thread Vincent Lefevre
On 2018-03-16 22:22:39 +0100, Marc Glisse wrote: > On Fri, 16 Mar 2018, Marco Bodrato wrote: > > > float.h was defined by C99, right? > > I am pretty sure it was already in C89. Yes, but was DBL_MANT_DIG necessarily an integer constant expression (in case this is needed) at that time? --