summaryrefslogtreecommitdiff
path: root/tests/tadd.c
Commit message (Collapse)AuthorAgeFilesLines
* New test framework, merged from test branch.thevenyp2014-01-201-6/+17
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1416 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* renamed mul/div_2exp to mul/div_2uienge2012-07-051-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1224 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* license change:enge2011-08-291-13/+12
| | | | | | | | | | | | LGPLv3+ for code FDLv1.3+ for mpc.texi simple disclaimer for supporting files (README, NEWS, INSTALL) tests/memory.c: replaced by version from mpfr-3.0.1 mpfr.texi: small cleanups; added real authors again, while keeping copyright notice with INRIA git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1027 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* done two "code clean-up" items during a Nancy-Paris train trip...zimmerma2011-02-091-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@912 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* finished change of copyright line into "Copyright (C) INRIA, year1, year2, ..."zimmerma2011-01-251-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@891 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* explicit casts in test/ to avoid warnings with '-Wconversion'enge2010-08-311-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@824 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* replaced mp_prec_t and mp_exp_p in test directoryenge2010-06-111-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@779 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* default precision removed, as well as init and all init_setenge2009-01-071-2/+2
| | | | | | | combinations git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@408 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* mpc-tests.h: Add a new field for function properties to struct mpc_function; ↵thevenyp2008-10-311-1/+2
| | | | | | | | | | add field initialization to macro DECL_XX_FUNC; add a general macro DECL_FUNC replacing DECL_XX_FUNC macros that will be removed; add an identifier FUNC_PROP_SYMETRIC. read_data.c: Use the symetry for CCC functions (halves data set). tadd.c: Declare mpc_add as a symetric function. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@275 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* add.dat, tadd.c, Makefile.am: Add data set for mpc_add.thevenyp2008-10-271-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@267 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_ccc.c, tests/tgeneric_ccs.c, tests/tgeneric_ccu.c, ↵thevenyp2008-10-171-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/tgeneric_cc.c, tests/tgeneric_cfc.c, tests/tgeneric_cuuc.c, tests/tgeneric_fc.c, tests/tgeneric_ccf.c, tests/tgeneric_cuc.c: code moved into test/tgeneric.c. tests/read_data_cc.c: code moved into tests/read_data.c. tests/mpc-tests.h: helper test function are in this new library tests/tgeneric.c: generic are reuse tests for all function prototypes used in MPC. tests/read_data.c: read data in a file. tests/comparisons.c: comparaison function working also with special values tests/random.c: functions become public tests/tsub_ui.c: use new libmpc-tests tests/tconj.c: use new libmpc-tests tests/tmul_ui.c: use new libmpc-tests tests/tmul_2exp.c: use new libmpc-tests tests/texp.c: use new libmpc-tests tests/tsinh.c: use new libmpc-tests tests/tneg.c: use new libmpc-tests tests/tui_div.c: use new libmpc-tests tests/tsub_fr.c: use new libmpc-tests tests/tdiv_2exp.c: use new libmpc-tests tests/tmul_fr.c: use new libmpc-tests tests/tadd_ui.c: use new libmpc-tests tests/tsqrt.c: use new libmpc-tests tests/ttanh.c: use new libmpc-tests tests/tfr_div.c: use new libmpc-tests tests/tnorm.c: use new libmpc-tests tests/tadd_fr.c: use new libmpc-tests tests/tfr_sub.c: use new libmpc-tests tests/tui_ui_sub.c: use new libmpc-tests tests/tmul_si.c: use new libmpc-tests tests/tdiv_ui.c: use new libmpc-tests tests/tlog.c: use new libmpc-tests tests/tdiv.c: use new libmpc-tests tests/ttan.c: use new libmpc-tests tests/tcos.c: use new libmpc-tests tests/tadd.c: use new libmpc-tests tests/tsin.c: use new libmpc-tests tests/tsub.c: use new libmpc-tests tests/tcosh.c: use new libmpc-tests tests/tmul.c: use new libmpc-tests tests/tabs.c: use new libmpc-tests tests/tsqr.c: use new libmpc-tests tests/tdiv_fr.c: use new libmpc-tests tests/tui_sub.c: removed because mpc_ui_sub is a macro. tests/abs.dat: new test file for mpc_abs. tests/Makefile.am: record previous changes. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@258 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_ccc.c: random tests for complex functions of two complex ↵thevenyp2008-09-231-3/+1
| | | | | | | | | | | variable and tests for parameter reuse. tests/Makefile.am: add tgeneric_ccc.c to EXTRA_DIST tests/tdiv.c tests/tadd.c tests/tsub.c tests/tmul.c: use tgeneric_ccc.c git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@188 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* updated some tests for new third parameter of tgenericenge2008-09-161-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@173 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add void in empty prototype (remove warnings with gcc option ↵thevenyp2008-07-311-2/+2
| | | | | | '-Wold-style-definition'. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@166 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Use the new mpc_urandom function in the test suite so that the tests are ↵thevenyp2008-07-101-1/+3
| | | | | | reproducible and sensible to the random seed set with the environment variable GMP_CHECK_RANDOMIZE (revision r153 disabled this behavior). git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@159 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add random seed setting (with environmnent variable GMP_CHECK_RANDOMIZE) forthevenyp2008-05-301-0/+6
| | | | | | | reproducible tests. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@147 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* test.c: Remove tests on arithmetic operations with two mpc_t.thevenyp2008-05-261-0/+32
| | | | | | | tadd.c: Move ternary value tests from test.c. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@141 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* raised the warning levelenge2008-04-111-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@103 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests and documentation for mpc_logenge2008-04-111-1/+1
| | | | | | | small reorganisation of the manual git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@100 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add generic tests for two mpc_t args functions.thevenyp2008-04-101-0/+34
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@98 211d60ee-9f03-0410-a15a-8952a2c7a4e4