summaryrefslogtreecommitdiff
path: root/tests/tadd.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-12-20 03:52:41 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-12-20 03:52:41 +0000
commit193a5b80b89d06b2d85a48a738ba0503ed49ac9e (patch)
tree5137651a73d4814ddafd640b3a702de659110887 /tests/tadd.c
parentd89dafd79868dc6f2a2df72ebfd85deb7178bf45 (diff)
downloadmpfr-193a5b80b89d06b2d85a48a738ba0503ed49ac9e.tar.gz
Compatibility with GMP 5.1.0 when gmp-impl.h is included (thanks to Rob:
https://sympa.inria.fr/sympa/arc/mpfr/2012-12/msg00003.html); clean-up. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8439 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tadd.c')
-rw-r--r--tests/tadd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tadd.c b/tests/tadd.c
index 3df06f31f..492a65f1b 100644
--- a/tests/tadd.c
+++ b/tests/tadd.c
@@ -20,7 +20,7 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#define NUM 30000
+#define N 30000
#include <float.h>
@@ -672,7 +672,7 @@ check_1111 (void)
mpfr_init2 (one, MPFR_PREC_MIN);
mpfr_set_ui (one, 1, MPFR_RNDN);
- for (n = 0; n < NUM; n++)
+ for (n = 0; n < N; n++)
{
mpfr_prec_t prec_a, prec_b, prec_c;
mpfr_exp_t tb=0, tc, diff;