summaryrefslogtreecommitdiff
path: root/tests/tdiv.c
Commit message (Collapse)AuthorAgeFilesLines
* New test framework, merged from test branch.thevenyp2014-01-201-5/+15
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1416 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tdiv.c, div.dat: moved tests to data fileenge2011-09-011-91/+0
| | | | | | | | exposes a sign bug in mpc_div read_data.c: corrected undocumented assumption on mpfr_signbit git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1064 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* license change:enge2011-08-291-12/+11
| | | | | | | | | | | | 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-2/+2
| | | | 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
* Modify #include chain so as to support DLL creation on Cygwinthevenyp2009-03-171-2/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@457 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* default precision removed, as well as init and all init_setenge2009-01-071-7/+3
| | | | | | | combinations git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@408 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* - added data files for norm, div, div_fr, fr_div, mul_frenge2008-11-131-1/+3
| | | | | | | | | - debugged some of the corresponding functions - tests/mpc-tests.h: removal of macros - tests/read_data.c: reorganisation of reused code in functions git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@299 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [tdiv.c] added test for real divisor, which should give a 100% coveragezimmerma2008-10-211-0/+15
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@262 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_ccc.c, tests/tgeneric_ccs.c, tests/tgeneric_ccu.c, ↵thevenyp2008-10-171-215/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update changes dates and authors in copyright line.thevenyp2008-09-241-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@202 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tmul.c: Speed up test while increasing exponent range.thevenyp2008-09-241-1/+1
| | | | | | | tests/tdiv.c: Speed up test. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@191 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_ccc.c: random tests for complex functions of two complex ↵thevenyp2008-09-231-64/+11
| | | | | | | | | | | 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
* src/div.c: Fix bug (an exact case was not correctly handle).thevenyp2008-09-231-0/+21
| | | | | | | test/tdiv.c: Add a test for this bug. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@186 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tdiv.c: complete tests with regular value and move them in a separated ↵thevenyp2008-09-231-12/+43
| | | | | | function. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@185 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tdiv.c: Changes in mpc_div_ref thevenyp2008-09-231-17/+21
| | | | | | | | | - fix bug: use rnd_im instead of GMP_RNDN - fix one comment - cosmetic changes git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@184 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add void in empty prototype (remove warnings with gcc option ↵thevenyp2008-07-311-1/+1
| | | | | | '-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-6/+0
| | | | | | 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-2/+10
| | | | | | | reproducible tests. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@147 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* eliminated comparisons between signed and unsignedenge2008-04-111-5/+5
| | | | | | | mainly by casting precisions (unsigned) to mp_exp_t (signed) git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@105 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests and documentation for mpc_logenge2008-04-111-1/+0
| | | | | | | small reorganisation of the manual git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@100 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Cosmetic changes: no tab, no trailing white spaces, and new indentation.thevenyp2008-04-101-69/+69
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@93 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* File reorganisation into three new directories: src, tests and doc.thevenyp2008-04-091-0/+323
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@82 211d60ee-9f03-0410-a15a-8952a2c7a4e4