summaryrefslogtreecommitdiff
path: root/tests/tsin.c
Commit message (Collapse)AuthorAgeFilesLines
* New test framework, merged from test branch.thevenyp2014-01-201-5/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1416 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
* 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
* back to the default MPFR exponent rangezimmerma2010-06-281-2/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@799 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* partial fix for problems with huge exponents reported by Chris Saunderszimmerma2010-06-281-1/+3
| | | | | | | | | (http://lists.gforge.inria.fr/pipermail/mpc-discuss/2010-June/000750.html) More work is needed for tan (detect when Im(result) is very near -1 or 1) and tanh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@795 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* NEWS, doc/mpc.texi: notice change in exp, sin, cos, and tan function prototypes.thevenyp2008-12-031-1/+1
| | | | | | | | src/cos.c, src/sin.c, src/tan.c: return now inexact value. tests/tcos.c, tests/tsin.c, tests/ttan.c: change from V_CC to CC func_type. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@380 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* - added data files for norm, div, div_fr, fr_div, mul_frenge2008-11-131-1/+1
| | | | | | | | | - 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
* tests/tgeneric_ccc.c, tests/tgeneric_ccs.c, tests/tgeneric_ccu.c, ↵thevenyp2008-10-171-13/+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
* read_data.c read_data_cc.c: rename read_data since it depends on function ↵thevenyp2008-10-021-2/+2
| | | | | | | | | | | | prototype, fix a bug (sign must always be checked with real non-zero values), add comment with usage explanations. Makefile.am: change filenames. sin sin.dat: add suffix in filename. tsin.c: change data filename. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@222 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* read_data.c: new function data_check to check function result against data ↵thevenyp2008-09-301-491/+2
| | | | | | | | | | | recorded in a file. Makefile.am: add read_data.c sin: example of data file tsin.c: use data_check with file 'sin'. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@220 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-2/+1
| | | | | | | | | | | 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
* Speed up tests.thevenyp2008-09-161-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@175 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* peed up some lengthy tests.thevenyp2008-09-161-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@172 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add void in empty prototype (remove warnings with gcc option ↵thevenyp2008-07-311-5/+5
| | | | | | '-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-3/+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
* Cosmetic changes.thevenyp2008-05-201-62/+95
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@132 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Improve test suite (take into account the sign of zero).thevenyp2008-05-201-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@131 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add more tests and fix some bugs for trigonometric functions.thevenyp2008-05-061-44/+236
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@126 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Fix values at a (x +/-i*Inf) point.thevenyp2008-04-221-1/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@117 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add special values processing in mpc_sin as in the C99 standardthevenyp2008-04-211-1/+227
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@115 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Replace rounding tests by the new tgeneric functions.thevenyp2008-04-091-55/+26
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@87 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* File reorganisation into three new directories: src, tests and doc.thevenyp2008-04-091-0/+104
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@82 211d60ee-9f03-0410-a15a-8952a2c7a4e4