From 546bc77536d65c27f28164fa9b52ed8b61a0600d Mon Sep 17 00:00:00 2001 From: vlefevre Date: Mon, 30 Mar 2020 09:39:05 +0000 Subject: [tests/tset_sj.c] For the "j" printf length modifier support, test and use MPFR_PRINTF_MAXLM instead of NPRINTF_J (this is the way up to MPFR 4.0, as the cleanup r13457 is only in the trunk). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@13838 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/tset_sj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tset_sj.c b/tests/tset_sj.c index e8f81dffc..35e78c699 100644 --- a/tests/tset_sj.c +++ b/tests/tset_sj.c @@ -286,8 +286,8 @@ test_2exp_extreme_aux (void) "emax=%" MPFR_EXP_FSPEC "d\n", (mpfr_eexp_t) __gmpfr_emin, (mpfr_eexp_t) __gmpfr_emax); -#ifndef NPRINTF_J - printf ("e = %jd\n", em); +#ifdef MPFR_PRINTF_MAXLM + printf ("e = %" MPFR_PRINTF_MAXLM "d\n", em); #endif printf ("Expected "); mpfr_dump (x1); -- cgit v1.2.1