diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-04-06 20:03:47 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-04-06 20:03:47 +0000 |
commit | e4f927434f16216f1497c6aa11cc4eee2e47ea5c (patch) | |
tree | 902c3140e7d78b8761c006ae16f9d3624c85df72 /tests/tset_sj.c | |
parent | b0ccfd1c1906176330416da74cc94d46a773d235 (diff) | |
download | mpfr-e4f927434f16216f1497c6aa11cc4eee2e47ea5c.tar.gz |
a few patches suggested by Patrick Pelissier to ease porting to 16-bit
architectures: removed useless #include <time.h>, changed 1024 to 1024L,
int i to lng i
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5347 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tset_sj.c')
-rw-r--r-- | tests/tset_sj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tset_sj.c b/tests/tset_sj.c index 029df5160..bee04095e 100644 --- a/tests/tset_sj.c +++ b/tests/tset_sj.c @@ -127,7 +127,7 @@ check_set_uj_2exp (void) ERROR("(1024U,-10)"); inex = mpfr_set_uj_2exp (x, 1024, 10, GMP_RNDN); - if (inex || mpfr_cmp_ui(x, 1024*1024)) + if (inex || mpfr_cmp_ui(x, 1024L * 1024L)) ERROR("(1024U,+10)"); inex = mpfr_set_uj_2exp (x, UINTMAX_MAX, 1000, GMP_RNDN); |