summaryrefslogtreecommitdiff
path: root/tests/tset.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-03-06 10:58:27 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-03-06 10:58:27 +0000
commitfbb52afdec355cb149b0a03c9744a247076cd83f (patch)
tree178db4f77fdd00121d163be75b872f0d3d009676 /tests/tset.c
parent5be2d7335f4cca00fd69953af4c2207d99f024e4 (diff)
downloadmpc-fbb52afdec355cb149b0a03c9744a247076cd83f.tar.gz
tests/tset.c: Add 'L' suffix to avoid truncation.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@441 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tset.c')
-rw-r--r--tests/tset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tset.c b/tests/tset.c
index 922e913..88ed76a 100644
--- a/tests/tset.c
+++ b/tests/tset.c
@@ -280,7 +280,7 @@ check_set_str (mp_exp_t exp_max)
/* the real part has a zero exponent in base ten (fixed in r439) */
mpc_set_prec (expected, 37);
mpc_set_prec (got, 37);
- mpc_set_ui (expected, 0x921FC04ED, GMP_RNDN);
+ mpc_set_ui (expected, 0x921FC04EDL, GMP_RNDN);
mpc_div_2exp (expected, expected, 37, MPC_RNDNN);
str = mpc_get_str (10, 0, expected, MPC_RNDNN);
if (mpc_set_str (got, str, 10, MPC_RNDNN) == -1