diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2009-01-07 16:17:11 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2009-01-07 16:17:11 +0000 |
commit | 397ce8da2cc325b6392e0e9bb10046a7dee30186 (patch) | |
tree | 81f8742f2f6510c257db629a47e58c48070c0a33 /tests/tcosh.c | |
parent | ac52f855461ae54db9e5ab8caedb002a688981ed (diff) | |
download | mpc-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/tcosh.c')
-rw-r--r-- | tests/tcosh.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tcosh.c b/tests/tcosh.c index 3e757e2..b14b0bb 100644 --- a/tests/tcosh.c +++ b/tests/tcosh.c @@ -46,9 +46,9 @@ pure_real_argument (void) mpc_t z; mpc_t cosh_z; - mpc_init (u); - mpc_init (z); - mpc_init (cosh_z); + mpc_init2 (z, 2); + mpc_init2 (u, 100); + mpc_init2 (cosh_z, 100); /* cosh(1 +i*0) = cosh(1) +i*0 */ mpc_set_ui_ui (z, 1, 0, MPC_RNDNN); @@ -92,9 +92,9 @@ pure_imaginary_argument (void) mpc_t z; mpc_t cosh_z; - mpc_init (u); - mpc_init (z); - mpc_init (cosh_z); + mpc_init2 (z, 2); + mpc_init2 (u, 100); + mpc_init2 (cosh_z, 100); /* cosh(+0 +i) = cos(1) +i*0 */ mpc_set_ui_ui (z, 0, 1, MPC_RNDNN); |