summaryrefslogtreecommitdiff
path: root/tests/tdiv.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-01-07 16:17:11 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-01-07 16:17:11 +0000
commit397ce8da2cc325b6392e0e9bb10046a7dee30186 (patch)
tree81f8742f2f6510c257db629a47e58c48070c0a33 /tests/tdiv.c
parentac52f855461ae54db9e5ab8caedb002a688981ed (diff)
downloadmpc-397ce8da2cc325b6392e0e9bb10046a7dee30186.tar.gz
default precision removed, as well as init and all init_set
combinations git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@408 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tdiv.c')
-rw-r--r--tests/tdiv.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/tdiv.c b/tests/tdiv.c
index da43635..6cd7cbc 100644
--- a/tests/tdiv.c
+++ b/tests/tdiv.c
@@ -29,13 +29,9 @@ check_regular (void)
mpc_t b, c, q;
int inex;
- mpc_init (b);
- mpc_init (c);
- mpc_init (q);
-
- mpc_set_prec (b, 10);
- mpc_set_prec (c, 10);
- mpc_set_prec (q, 10);
+ mpc_init2 (b, 10);
+ mpc_init2 (c, 10);
+ mpc_init2 (q, 10);
/* inexact result */
mpc_set_ui_ui (b, 973, 964, MPC_RNDNN);