ni...@lysator.liu.se (Niels Möller) writes:

  t...@gmplib.org (Torbjörn Granlund) writes:
  
  > Please check that reuse.c whacks gcdext appropriately.
  
  It doesn't check the cases where both input operands overlap some output
  operands, e.g.,
  
          mpz_gcdext (res1, res2, res3, res1, res3);
  
  or
  
          mpz_gcdext (res1, res2, res3, res2, res2);
  
  Should it do that, or is it enough that the reuse tests overlap one
  operand at a time? Doing all combinations everywhere does blow up the
  number of tests a bit.
  
Let's make the test slower as a reaction to Vincent's complaint!  :-)

Seriously, I think we should exercise all combinations.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to