diff options
Diffstat (limited to 'tests/tpow3.c')
-rw-r--r-- | tests/tpow3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tpow3.c b/tests/tpow3.c index 0626d51dc..0e87a6138 100644 --- a/tests/tpow3.c +++ b/tests/tpow3.c @@ -1,6 +1,6 @@ /* Test file for mpfr_pow. -Copyright 2001, 2002, 2003 Free Software Foundation. +Copyright 2001, 2002, 2003, 2005 Free Software Foundation. Adapted from tarctan.c. This file is part of the MPFR Library. @@ -65,7 +65,7 @@ main (int argc, char *argv[]) mpfr_random (s); if (randlimb () % 2) mpfr_neg (s, s, GMP_RNDN); - rnd = RND_RAND (); + rnd = (mp_rnd_t) RND_RAND (); mpfr_set_prec (y, yprec); compare = mpfr_pow (y, x, s, rnd); err = (rnd == GMP_RNDN) ? yprec + 1 : yprec; |