Re: Changes to mini-gmp and 5.1.2

2013-05-18 Thread Torbjorn Granlund
ni...@lysator.liu.se (Niels Möller) writes:

  Torbjorn Granlund t...@gmplib.org writes:
  
   Should we move any of the mini-gmp changes to 5.1.2?
  
  I think the following would make sense to include:
  
  2013-02-25  Niels Möller  ni...@lysator.liu.se
  
* mini-gmp/tests/t-double.c (testmain): Declare double variables
as volatile, to drop extended precision.
  
* mini-gmp/tests/testutils.c (testfree): New function. Use it
everywhere where test programs deallocate storage allocated via
the mini-gmp allocation functions, including uses of mpz_get_str
for various test failure messages.
  
  IIRC, the second change fixes crashes when displaying messages about
  failing tests.
  
  2013-02-19 Marco Bodrato bodr...@mail.dm.unipi.it
  
* mini-gmp/mini-gmp.c: Move asserts to work-around a compiler bug.
  
* mini-gmp/tests/t-reuse.c: Fix typo causing the same negation condition
to be applied to all operands. (See 2013-02-03, Torbjorn)
  
That was easy, since all these changes already appear to have been put
in 5.1.  :-)

-- 
Torbjörn
___
gmp-devel mailing list
gmp-devel@gmplib.org
http://gmplib.org/mailman/listinfo/gmp-devel


Re: Changes to mini-gmp and 5.1.2

2013-05-17 Thread Niels Möller
Torbjorn Granlund t...@gmplib.org writes:

 Should we move any of the mini-gmp changes to 5.1.2?

I think the following would make sense to include:

2013-02-25  Niels Möller  ni...@lysator.liu.se

* mini-gmp/tests/t-double.c (testmain): Declare double variables
as volatile, to drop extended precision.

* mini-gmp/tests/testutils.c (testfree): New function. Use it
everywhere where test programs deallocate storage allocated via
the mini-gmp allocation functions, including uses of mpz_get_str
for various test failure messages.

IIRC, the second change fixes crashes when displaying messages about
failing tests.

2013-02-19 Marco Bodrato bodr...@mail.dm.unipi.it

* mini-gmp/mini-gmp.c: Move asserts to work-around a compiler bug.

* mini-gmp/tests/t-reuse.c: Fix typo causing the same negation condition
to be applied to all operands. (See 2013-02-03, Torbjorn)

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
___
gmp-devel mailing list
gmp-devel@gmplib.org
http://gmplib.org/mailman/listinfo/gmp-devel