diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-07-05 08:55:42 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-07-05 08:55:42 +0000 |
commit | eb4484e39772db743d5ae49e0fe322ef3fcdb9db (patch) | |
tree | 55afe6dd4fc27feac975d138a5fa0e4b043795ec /tests | |
parent | 4646f388cb3aa3d3435a08c7bdacab16e9530137 (diff) | |
download | mpc-eb4484e39772db743d5ae49e0fe322ef3fcdb9db.tar.gz |
renamed mul/div_2exp to mul/div_2ui
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1224 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 6 | ||||
-rw-r--r-- | tests/tadd.c | 4 | ||||
-rw-r--r-- | tests/tadd_fr.c | 4 | ||||
-rw-r--r-- | tests/tadd_si.c | 4 | ||||
-rw-r--r-- | tests/tadd_ui.c | 4 | ||||
-rw-r--r-- | tests/tdiv_2ui.c (renamed from tests/tdiv_2exp.c) | 4 | ||||
-rw-r--r-- | tests/tmul_2ui.c (renamed from tests/tmul_2exp.c) | 4 | ||||
-rw-r--r-- | tests/tpow_fr.c | 4 |
8 files changed, 17 insertions, 17 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 94976b8..72ea589 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,6 @@ ## tests/Makefile.am -- Process this file with automake to produce Makefile.in ## -## Copyright (C) 2008, 2009, 2010, 2011 INRIA +## Copyright (C) 2008, 2009, 2010, 2011, 2012 INRIA ## ## This file is part of GNU MPC. ## @@ -28,8 +28,8 @@ AM_LDFLAGS = -no-install LOADLIBES=$(DEFS) -I$(top_srcdir)/src -I$(top_builddir) $(CPPFLAGS) $(CFLAGS) -L$(top_builddir)/tests/.libs -lmpc-tests -lmpc -lm $(LIBS) check_PROGRAMS = tabs tacos tacosh tadd tadd_fr tadd_si tadd_ui targ tasin \ -tasinh tatan tatanh tconj tcos tcosh tdiv tdiv_2exp tdiv_fr tdiv_ui texp tfma \ -tfr_div tfr_sub timag tio_str tlog tlog10 tmul tmul_2exp tmul_fr tmul_i \ +tasinh tatan tatanh tconj tcos tcosh tdiv tdiv_2ui tdiv_fr tdiv_ui texp tfma \ +tfr_div tfr_sub timag tio_str tlog tlog10 tmul tmul_2ui tmul_fr tmul_i \ tmul_si tmul_ui tneg tnorm tpow tpow_ld tpow_d tpow_fr tpow_si tpow_ui tpow_z \ tprec tproj treal treimref tset tsin tsin_cos tsinh tsqr tsqrt tstrtoc tsub \ tsub_fr tsub_ui tswap ttan ttanh tui_div tui_ui_sub tget_version diff --git a/tests/tadd.c b/tests/tadd.c index 1253b64..11a305b 100644 --- a/tests/tadd.c +++ b/tests/tadd.c @@ -1,6 +1,6 @@ /* tadd -- test file for mpc_add. -Copyright (C) 2008, 2010, 2011 INRIA +Copyright (C) 2008, 2010, 2011, 2012 INRIA This file is part of GNU MPC. @@ -37,7 +37,7 @@ check_ternary_value (void) mpc_set_prec (y, prec); mpc_set_ui (x, 1, MPC_RNDNN); - mpc_mul_2exp (x, x, (unsigned long int) prec, MPC_RNDNN); + mpc_mul_2ui (x, x, (unsigned long int) prec, MPC_RNDNN); mpc_set_ui (y, 1, MPC_RNDNN); if (mpc_add (z, x, y, MPC_RNDNN) == 0) diff --git a/tests/tadd_fr.c b/tests/tadd_fr.c index d5ed163..1f3b76a 100644 --- a/tests/tadd_fr.c +++ b/tests/tadd_fr.c @@ -1,6 +1,6 @@ /* tadd_fr -- test file for mpc_add_fr. -Copyright (C) 2008, 2010 INRIA +Copyright (C) 2008, 2010, 2012 INRIA This file is part of GNU MPC. @@ -45,7 +45,7 @@ check_ternary_value (mpfr_prec_t prec_max, mpfr_prec_t step) } mpc_set_ui (z, 1, MPC_RNDNN); - mpc_mul_2exp (z, z, (unsigned long int) prec, MPC_RNDNN); + mpc_mul_2ui (z, z, (unsigned long int) prec, MPC_RNDNN); if (mpc_add_fr (z, z, f, MPC_RNDNN) == 0) { fprintf (stderr, "Error in mpc_add_fr: 2^prec+1 cannot be exact\n"); diff --git a/tests/tadd_si.c b/tests/tadd_si.c index 20fb39d..da12a7a 100644 --- a/tests/tadd_si.c +++ b/tests/tadd_si.c @@ -1,6 +1,6 @@ /* tadd_si -- test file for mpc_add_si. -Copyright (C) 2011 INRIA +Copyright (C) 2011, 2012 INRIA This file is part of GNU MPC. @@ -42,7 +42,7 @@ check_ternary_value (void) exit (1); } - mpc_mul_2exp (z, z, (unsigned long int) prec, MPC_RNDNN); + mpc_mul_2ui (z, z, (unsigned long int) prec, MPC_RNDNN); if (mpc_add_si (z, z, s, MPC_RNDNN) == 0) { printf ("Error in mpc_add_si: 2^(prec+1)-1 cannot be exact\n"); exit (1); diff --git a/tests/tadd_ui.c b/tests/tadd_ui.c index 362ebde..4f8efea 100644 --- a/tests/tadd_ui.c +++ b/tests/tadd_ui.c @@ -1,6 +1,6 @@ /* tadd_ui -- test file for mpc_add_ui. -Copyright (C) 2008, 2010 INRIA +Copyright (C) 2008, 2010, 2012 INRIA This file is part of GNU MPC. @@ -41,7 +41,7 @@ check_ternary_value (void) } mpc_set_ui (z, 1, MPC_RNDNN); - mpc_mul_2exp (z, z, (unsigned long int) prec, MPC_RNDNN); + mpc_mul_2ui (z, z, (unsigned long int) prec, MPC_RNDNN); if (mpc_add_ui (z, z, 1, MPC_RNDNN) == 0) { printf ("Error in mpc_add_ui: 2^prec+1 cannot be exact\n"); diff --git a/tests/tdiv_2exp.c b/tests/tdiv_2ui.c index 91b03af..3a36ebd 100644 --- a/tests/tdiv_2exp.c +++ b/tests/tdiv_2ui.c @@ -1,6 +1,6 @@ /* tdiv_2exp -- test file for mpc_div_2exp. -Copyright (C) 2008 INRIA +Copyright (C) 2008, 2012 INRIA This file is part of GNU MPC. @@ -23,7 +23,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . int main (void) { - DECL_FUNC (CCU, f, mpc_div_2exp); + DECL_FUNC (CCU, f, mpc_div_2ui); test_start (); diff --git a/tests/tmul_2exp.c b/tests/tmul_2ui.c index 0653899..7f6ec48 100644 --- a/tests/tmul_2exp.c +++ b/tests/tmul_2ui.c @@ -1,6 +1,6 @@ /* tmul_2exp -- test file for mpc_mul_2exp. -Copyright (C) 2008 INRIA +Copyright (C) 2008, 2012 INRIA This file is part of GNU MPC. @@ -23,7 +23,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . int main (void) { - DECL_FUNC (CCU, f, mpc_mul_2exp); + DECL_FUNC (CCU, f, mpc_mul_2ui); test_start (); diff --git a/tests/tpow_fr.c b/tests/tpow_fr.c index 2b0dc29..47ef071 100644 --- a/tests/tpow_fr.c +++ b/tests/tpow_fr.c @@ -1,6 +1,6 @@ /* tpow_fr -- test file for mpc_pow_fr. -Copyright (C) 2009, 2011 INRIA +Copyright (C) 2009, 2011, 2012 INRIA This file is part of GNU MPC. @@ -31,7 +31,7 @@ test_reuse (void) mpc_init2 (z, 2); mpc_set_si_si (z, 0, -1, MPC_RNDNN); mpfr_neg (mpc_realref (z), mpc_realref (z), GMP_RNDN); - mpc_div_2exp (z, z, 4, MPC_RNDNN); + mpc_div_2ui (z, z, 4, MPC_RNDNN); mpfr_set_ui (y, 512, GMP_RNDN); inex = mpc_pow_fr (z, z, y, MPC_RNDNN); if (MPC_INEX_RE(inex) != 0 || MPC_INEX_IM(inex) != 0 || |