diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-03-30 09:39:05 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-03-30 09:39:05 +0000 |
commit | 546bc77536d65c27f28164fa9b52ed8b61a0600d (patch) | |
tree | dc63c34986d4fee4b4778e850959a5240231c813 | |
parent | 100d483e5d63a1d79d9e8c277be70e90bcfb5dbb (diff) | |
download | mpfr-546bc77536d65c27f28164fa9b52ed8b61a0600d.tar.gz |
[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
-rw-r--r-- | tests/tset_sj.c | 4 |
1 files 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); |