Torbjörn,

> From: [email protected] (Torbjörn Granlund)
> Date: Wed, 14 Dec 2016 21:33:10 +0100
> 
> Vincent Lefevre <[email protected]> writes:
> 
>   I suppose that if one doesn't use the macros that depend on
>   GMP internals, there should be no problems. In particular,
>   udiv_qrnnd is not used, unless the user configured MPFR to use
>   the GMP internals, but then that's the user's own problems.
> 
> There is a symbol LONGLONG_STANDALONE which mpfr might want to use.
> It is documented in longlong.h's header.

it is already included in mpfr-impl.h:

$ grep -C 3 LONGLONG_STANDALONE src/mpfr-impl.h 
# include "mpfr.h"
# include "mpfr-gmp.h"
# ifdef MPFR_NEED_LONGLONG_H
#  define LONGLONG_STANDALONE
#  include "mpfr-longlong.h"
# endif

Therefore the issue with undefined sdiv_qrnnd was because the corresponding
code was not protected by #ifdef LONGLONG_STANDALONE?

Paul
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to