diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-01-18 08:38:03 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-01-18 08:38:03 +0000 |
commit | f961f4ec8dac031e2198d5a277e432e07bc04b53 (patch) | |
tree | 86746ac197fcd8ca1e1e5792763e02b4c68f5d33 /tests/tui_pow.c | |
parent | 608fd29ae20f765e4d7ce6deb655594e01ae2f37 (diff) | |
download | mpfr-f961f4ec8dac031e2198d5a277e432e07bc04b53.tar.gz |
followup from previous commit: 1^Inf is special too
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8786 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tui_pow.c')
-rw-r--r-- | tests/tui_pow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tui_pow.c b/tests/tui_pow.c index 55c58accd..5ca40c1cf 100644 --- a/tests/tui_pow.c +++ b/tests/tui_pow.c @@ -156,7 +156,7 @@ main (int argc, char *argv[]) mpfr_init (x); mpfr_init (y); - do n = randlimb (); while (n == 0); + do n = randlimb (); while (n <= 1); MPFR_SET_INF(x); mpfr_ui_pow (y, n, x, MPFR_RNDN); |