diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-03-25 21:35:57 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-03-25 21:35:57 +0000 |
commit | 18f662377fa4157ad722c2876fc8998b0843eb39 (patch) | |
tree | 45df7814c53dc6d15c6c9b0e54860a0658d01fc4 /tests/tpow_z.c | |
parent | 2e3eb27dc768dd5b6109a84d5b96ce03531ba0ba (diff) | |
download | mpfr-18f662377fa4157ad722c2876fc8998b0843eb39.tar.gz |
fixed bug in pow_ui (and pow_z): missing factor 2 in error bound
fixed bug in gamma of negative integer
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3412 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tpow_z.c')
-rw-r--r-- | tests/tpow_z.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tpow_z.c b/tests/tpow_z.c index 73979152d..7ec6b08bf 100644 --- a/tests/tpow_z.c +++ b/tests/tpow_z.c @@ -192,8 +192,7 @@ static void check_regression (void) mpfr_init2 (x, 122); mpfr_init2 (y, 122); - mpfr_set_str_binary (x, "0.1000001001000011110100111010010110101001111001110" -"0001111000001001101000110011001001001001011001011010110110110101000111011E1"); + mpfr_set_str_binary (x, "0.10000010010000111101001110100101101010011110011100001111000001001101000110011001001001001011001011010110110110101000111011E1"); res1 = mpfr_pow_z (y, x, z, GMP_RNDU); res2 = mpfr_pow_ui (x, x, 2026876995UL, GMP_RNDU); if (mpfr_cmp (x, y) || res1 != res2) |