On Fri, 21 Aug 2015, Marco Bodrato wrote:
On Thu, August 20, 2015 9:56 am, Marc Glisse wrote:
Is casting an mpz to an mpq, then accessing only the NUM() part of it,
portable?
From what I understand of the aliasing model currently used by gcc, to
be safe, in the function using it, we should
On Fri, 21 Aug 2015, Torbjörn Granlund wrote:
Marco Bodrato bodr...@mail.dm.unipi.it writes:
Maybe we can promise the right type, by adding an explicit cast?
SIZ((mpz_srcptr) NUM(op2))
Except that we should cast op2, not NUM(ops).
I am not sure Marc's reasoning is accurate, nor am I