summaryrefslogtreecommitdiff
path: root/tests/tsqr.c
Commit message (Collapse)AuthorAgeFilesLines
* New test framework, merged from test branch.thevenyp2014-01-201-4/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1416 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* changed GMP_RND? to MPFR_RND?enge2012-07-231-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1246 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* mpc-tests.h: reorganisation of commentenge2011-11-041-1/+0
| | | | | | | test files: remove inclusion of stdio.h, done via mpc-tests.h git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1116 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* replaced MPC_RE by mpc_realref and MPC_IM by mpc_imagref everywhereenge2011-11-041-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1112 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tsqr.c: added missing test_end (reported by Brian Gladman)enge2011-09-011-0/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1062 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* random.c, mpc-tests.h: made variables staticenge2011-08-301-1/+2
| | | | | | | | tpow_{s,u}i.c: use global random state tsqr.c: cosmetic change git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1042 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
* 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
* mpc-impl.h and test files: replaced macro OUT by MPC_OUTenge2011-01-131-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@867 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tsqr.c: moved old hard-coded tests into data file sqr.datenge2010-09-021-70/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@829 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* moved declaration of set_pi_over_2 from acos.c/asin.c to header file mpc-impl.henge2010-09-021-10/+10
| | | | | | | added a few key words "static" and "extern" in tests/ git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@828 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* replaced mp_prec_t and mp_exp_p in test directoryenge2010-06-111-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@779 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [sqr.c] fixed another infinite loop problem (underflow case)zimmerma2009-10-021-0/+16
| | | | | | | [tsqr.c] added one test git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@694 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [tlog.c] disabled test for exp(log(z)) = z, since it gives false positiveszimmerma2009-10-011-0/+17
| | | | | | | | [sqr.c] fixed infinite loop with large exponents [tsqr.c] added new test git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@690 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tgeneric.c tsqr.c: Add missing mpc_clear.thevenyp2009-03-231-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@498 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Remove all #include "mpc-impl.h" in test files (mpc-impl.h is now included ↵thevenyp2009-03-171-1/+0
| | | | | | by mpc-tests.h) git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@458 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* default precision removed, as well as init and all init_setenge2009-01-071-4/+2
| | | | | | | 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-2/+2
| | | | | | | | | - 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
* tgeneric.c, tadd_ui.c, tsqr.c: Avoid some sign/unsign implicit conversions.thevenyp2008-11-131-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@296 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/sqr.c: Fix bug when reusing parameter and parameter value is pure real ↵thevenyp2008-10-211-0/+25
| | | | | | | | | | or pure imaginary but with a negative sign (-0). tests/tsqr.c: add reuse bug found by Paul Zimmermann. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@264 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_ccc.c, tests/tgeneric_ccs.c, tests/tgeneric_ccu.c, ↵thevenyp2008-10-171-12/+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
* Add data file for mpc_sqr.thevenyp2008-10-031-0/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@225 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/tgeneric_cc.c: random tests for complex functions of one complex ↵thevenyp2008-09-191-20/+7
| | | | | | | | | | | variable and tests for parameter reuse. tests/Makefile.am: add tgeneric.cc plus some tests files tconj, tneg tests/tlog.c tests/ttan.c tests/tcos.c tests/tsin.c tests/tsqrt.c tests/tconj.c tests/ttanh.c tests/tcosh.c tests/texp.c tests/tsinh.c tests/tsqr.c tests/tneg.c: use tgeneric_cc.c git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@182 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-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-0/+6
| | | | | | | 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-2/+2
| | | | | | | 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
* Cosmetic changes: no tab, no trailing white spaces, and new indentation.thevenyp2008-04-101-57/+57
| | | | 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/+220
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@82 211d60ee-9f03-0410-a15a-8952a2c7a4e4