diff options
author | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-11-14 16:42:39 +0000 |
---|---|---|
committer | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-11-14 16:42:39 +0000 |
commit | 756d10a4d0f41b1b4019d2ed500aff03af553613 (patch) | |
tree | 3b82c22553e25473423ba5e50a171d1d82b1055b /tests/tmul.c | |
parent | 97d123de04cf2504929cfe15d044ca262d04db00 (diff) | |
download | mpc-756d10a4d0f41b1b4019d2ed500aff03af553613.tar.gz |
[mul.c] fixed bug found by Philippe (20081114)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@312 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tmul.c')
-rw-r--r-- | tests/tmul.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tmul.c b/tests/tmul.c index 8af2f0a..43342c4 100644 --- a/tests/tmul.c +++ b/tests/tmul.c @@ -126,6 +126,11 @@ check_regular (void) mpc_set_prec (y, 7); mpfr_set_str (MPC_RE (x), "0xB4p+733", 16, GMP_RNDN); mpfr_set_str (MPC_IM (x), "0x90p+244", 16, GMP_RNDN); + mpfr_set_str (MPC_RE (y), "0xECp-146", 16, GMP_RNDN); + mpfr_set_str (MPC_IM (y), "0xACp-471", 16, GMP_RNDN); + cmpmul (x, y, MPC_RNDNN); + mpfr_set_str (MPC_RE (x), "0xB4p+733", 16, GMP_RNDN); + mpfr_set_str (MPC_IM (x), "0x90p+244", 16, GMP_RNDN); mpfr_set_str (MPC_RE (y), "0xACp-471", 16, GMP_RNDN); mpfr_set_str (MPC_IM (y), "-0xECp-146", 16, GMP_RNDN); cmpmul (x, y, MPC_RNDNN); |